diff options
Diffstat (limited to 'example_project')
| -rw-r--r-- | example_project/settings.py | 6 | 
1 files changed, 3 insertions, 3 deletions
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')  | 
