From 7e3088993eae35beeed20af77bce4e933a5a32c9 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Mon, 19 Dec 2016 13:52:00 +0000 Subject: [PATCH] Delay an import which causes not ready complaints if handled too early. - Legacy-Id: 12580 --- ietf/settings_sqlitetest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/settings_sqlitetest.py b/ietf/settings_sqlitetest.py index 5a9a10e31..149d896c6 100644 --- a/ietf/settings_sqlitetest.py +++ b/ietf/settings_sqlitetest.py @@ -17,13 +17,13 @@ debug.debug = True ## To be removed after upgrade to Django 1.8 ## -from django.db.migrations.loader import MIGRATIONS_MODULE_NAME class DisableMigrations(object): def __contains__(self, item): return True def __getitem__(self, item): + from django.db.migrations.loader import MIGRATIONS_MODULE_NAME # The string below is significant. It has to include the value of # django.db.migrations.loader.MIGRATIONS_MODULE_NAME. Used by django # 1.7 code in django.db.migrations.loader.MigrationLoader to