1
0
mirror of https://github.com/django/django.git synced 2024-12-25 10:35:48 +00:00

utils.importlib is deprecated

This commit is contained in:
Andrew Godwin 2013-08-09 17:36:16 +01:00
parent 679627660f
commit 9f73629420
4 changed files with 3 additions and 4 deletions

View File

@ -8,7 +8,6 @@ from django.core.management import call_command
from django.core.management.base import NoArgsCommand, CommandError
from django.core.management.color import no_style
from django.core.management.sql import sql_flush, emit_post_migrate_signal
from django.utils.importlib import import_module
from django.utils.six.moves import input
from django.utils import six

View File

@ -1,5 +1,6 @@
from optparse import make_option
from collections import OrderedDict
from importlib import import_module
import itertools
import traceback
@ -11,7 +12,6 @@ from django.core.management.sql import custom_sql_for_model, emit_post_migrate_s
from django.db import connections, router, transaction, models, DEFAULT_DB_ALIAS
from django.db.migrations.executor import MigrationExecutor
from django.db.migrations.loader import AmbiguityError
from django.utils.importlib import import_module
from django.utils.module_loading import module_has_submodule

View File

@ -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

View File

@ -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