mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-04-03 21:40:27 +00:00
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:
parent
125c2c1470
commit
02019f7263
1 changed files with 1 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue