diff --git a/imagekit/utils.py b/imagekit/utils.py index b085770..ae81760 100644 --- a/imagekit/utils.py +++ b/imagekit/utils.py @@ -3,19 +3,10 @@ from tempfile import NamedTemporaryFile from django.core.exceptions import ImproperlyConfigured from django.core.files import File -from django.db.models.loading import cache from django.utils.importlib import import_module from pilkit.utils import * -def _get_models(apps): - models = [] - for app_label in apps or []: - app = cache.get_app(app_label) - models += [m for m in cache.get_models(app)] - return models - - def get_nonabstract_descendants(model): """ Returns all non-abstract descendants of the model. """ if not model._meta.abstract: