diff options
author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-16 11:52:05 +0100 |
---|---|---|
committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-17 10:17:46 +0100 |
commit | 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2 (patch) | |
tree | 93ef8485b68063367d7d1599004625a67e383faf /django/db/utils.py | |
parent | b3d5efe23fb5af586eb274c059ad17645da1c135 (diff) | |
download | django-4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.tar.gz |
Moved the new app cache inside core.
Diffstat (limited to 'django/db/utils.py')
-rw-r--r-- | django/db/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/utils.py b/django/db/utils.py index 702b1b4ebc..4d53d252bf 100644 --- a/django/db/utils.py +++ b/django/db/utils.py @@ -282,6 +282,6 @@ class ConnectionRouter(object): """ Return app models allowed to be synchronized on provided db. """ - from django.apps import app_cache + from django.core.apps import app_cache return [model for model in app_cache.get_models(app, include_auto_created=include_auto_created) if self.allow_migrate(db, model)] |