mirror of
https://github.com/Hopiu/django-imagekit.git
synced 2026-03-16 21:30:23 +00:00
Added huge performance improvement by running imagekit.utils.autodiscover() only once on Django > 1.7 as it was intended.
This commit is contained in:
parent
3d37fb3d3a
commit
c74d8424b8
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ def autodiscover():
|
|||
_autodiscover_modules_fallback()
|
||||
else:
|
||||
autodiscover_modules('imagegenerators')
|
||||
_autodiscovered = True
|
||||
|
||||
|
||||
def _autodiscover_modules_fallback():
|
||||
|
|
|
|||
Loading…
Reference in a new issue