Skip to content

Commit 7e30889

Browse files
committed
Delay an import which causes not ready complaints if handled too early.
- Legacy-Id: 12580
1 parent 1620a14 commit 7e30889

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/settings_sqlitetest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717

1818
## To be removed after upgrade to Django 1.8 ##
1919

20-
from django.db.migrations.loader import MIGRATIONS_MODULE_NAME
2120
class DisableMigrations(object):
2221

2322
def __contains__(self, item):
2423
return True
2524

2625
def __getitem__(self, item):
26+
from django.db.migrations.loader import MIGRATIONS_MODULE_NAME
2727
# The string below is significant. It has to include the value of
2828
# django.db.migrations.loader.MIGRATIONS_MODULE_NAME. Used by django
2929
# 1.7 code in django.db.migrations.loader.MigrationLoader to

0 commit comments

Comments
 (0)