summaryrefslogtreecommitdiff
path: root/django/db/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/utils.py')
-rw-r--r--django/db/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/utils.py b/django/db/utils.py
index 4d53d252bf..702b1b4ebc 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.core.apps import app_cache
+ from django.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)]