From 328de388cf7c8cd213752c01dfadc2a19e8acb6f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 28 Oct 2016 19:21:41 +0200 Subject: Too many lazy evaluations and nobody do the job! Fixed. --- example_project/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index 26119451a..ef52d932a 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -237,9 +237,9 @@ except ImportError, e: if 'test' in sys.argv: SOUTH_TESTS_MIGRATE = False -if USE_SPATIALITE_FOR_TESTS: - DATABASES['default']['ENGINE'] = \ - 'django.contrib.gis.db.backends.spatialite' + if USE_SPATIALITE_FOR_TESTS: + DATABASES['default']['ENGINE'] = \ + 'django.contrib.gis.db.backends.spatialite' PROJECT_SLUG = locals().get('PROJECT_SLUG', 'default') -- cgit v1.2.3