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].

This commit is contained in:
Justin Driscoll 2010-01-25 16:19:29 -05:00
parent 125c2c1470
commit 02019f7263

View file

@ -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):