From dff01823103243a7fb1b3fe7000537a89bfb9e3a Mon Sep 17 00:00:00 2001 From: Matthew Tretter Date: Tue, 12 Feb 2013 19:45:31 -0500 Subject: [PATCH] Remove another old util --- imagekit/utils.py | 9 --------- 1 file changed, 9 deletions(-) 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: