From 02019f726321fd728042c514dcc04c3bc5faafae Mon Sep 17 00:00:00 2001 From: Justin Driscoll Date: Mon, 25 Jan 2010 16:19:29 -0500 Subject: [PATCH] Imagekit not longer uses the appends the upload_to path of the image when generating the cache filename. The new default format is [media_root]/[cache_dir]/[cache_filename]. --- imagekit/specs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/imagekit/specs.py b/imagekit/specs.py index d23bed5..26c7fc5 100644 --- a/imagekit/specs.py +++ b/imagekit/specs.py @@ -86,8 +86,7 @@ class Accessor(object): return self._obj._ik.cache_dir(self._obj, filepath, cache_filename) else: - return os.path.join(self._obj._ik.cache_dir, filepath, - cache_filename) + return os.path.join(self._obj._ik.cache_dir, cache_filename) @property def url(self):