Loading tests/admin_scripts/tests.py +1 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,7 @@ class AdminScriptTestCase(unittest.TestCase): 'SECRET_KEY', 'TEST_RUNNER', # We need to include TEST_RUNNER, otherwise we get a compatibility warning. 'MIDDLEWARE_CLASSES', # We need to include MIDDLEWARE_CLASSES, otherwise we get a compatibility warning. 'SPATIALITE_LIBRARY_PATH', ] for s in exports: if hasattr(settings, s): Loading Loading
tests/admin_scripts/tests.py +1 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,7 @@ class AdminScriptTestCase(unittest.TestCase): 'SECRET_KEY', 'TEST_RUNNER', # We need to include TEST_RUNNER, otherwise we get a compatibility warning. 'MIDDLEWARE_CLASSES', # We need to include MIDDLEWARE_CLASSES, otherwise we get a compatibility warning. 'SPATIALITE_LIBRARY_PATH', ] for s in exports: if hasattr(settings, s): Loading