summaryrefslogtreecommitdiff
path: root/django/db
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2013-08-09 17:36:16 +0100
committerAndrew Godwin <andrew@aeracode.org>2013-08-09 17:36:16 +0100
commit9f736294205486443f047e93f8ca53b5b00ac1d3 (patch)
tree06c23cb27506f1063e59b449c8744bcf75cae815 /django/db
parent679627660fef3c7a9f7be743a168930e4a0e58ae (diff)
utils.importlib is deprecated
Diffstat (limited to 'django/db')
-rw-r--r--django/db/migrations/loader.py2
-rw-r--r--django/db/migrations/writer.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/db/migrations/loader.py b/django/db/migrations/loader.py
index 441480b194..6ad6959787 100644
--- a/django/db/migrations/loader.py
+++ b/django/db/migrations/loader.py
@@ -1,5 +1,5 @@
import os
-from django.utils.importlib import import_module
+from importlib import import_module
from django.utils.functional import cached_property
from django.db.models.loading import cache
from django.db.migrations.recorder import MigrationRecorder
diff --git a/django/db/migrations/writer.py b/django/db/migrations/writer.py
index 4cc84dcca7..753aeacd04 100644
--- a/django/db/migrations/writer.py
+++ b/django/db/migrations/writer.py
@@ -2,8 +2,8 @@ from __future__ import unicode_literals
import datetime
import types
import os
+from importlib import import_module
from django.utils import six
-from django.utils.importlib import import_module
from django.db import models
from django.db.models.loading import cache
from django.db.migrations.loader import MigrationLoader