Added huge performance improvement by running imagekit.utils.autodiscover() only once on Django > 1.7 as it was intended.

This commit is contained in:
Moritz Pfeiffer 2017-05-16 14:19:05 +02:00
parent 3d37fb3d3a
commit c74d8424b8

View file

@ -79,6 +79,7 @@ def autodiscover():
_autodiscover_modules_fallback()
else:
autodiscover_modules('imagegenerators')
_autodiscovered = True
def _autodiscover_modules_fallback():