diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index 5465c24509..4233a9eff7 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -641,7 +641,7 @@ STATICFILES_FINDERS = [ ############## # Executor to use for migration. -MIGRATION_EXECUTOR_BACKEND = 'django.db.migrations.executor.MigrationExecutor' +MIGRATION_EXECUTOR_BACKEND = "django.db.migrations.executor.MigrationExecutor" # Migration module overrides for apps, by app label. MIGRATION_MODULES = {} diff --git a/django/db/migrations/utils.py b/django/db/migrations/utils.py index 544c228b74..95f7e5528d 100644 --- a/django/db/migrations/utils.py +++ b/django/db/migrations/utils.py @@ -2,9 +2,9 @@ import datetime import re from collections import namedtuple +from django.conf import settings from django.db.models.fields.related import RECURSIVE_RELATIONSHIP_CONSTANT from django.utils.module_loading import import_string -from django.conf import settings FieldReference = namedtuple("FieldReference", "to through")