From e1bff84fa5aba64c5a6e8b9e94b6948c454c3455 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 28 Oct 2016 14:11:54 +0200 Subject: Use spatialite for tests --- example_project/settings.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example_project/settings.py') diff --git a/example_project/settings.py b/example_project/settings.py index 9c4d5c9c3..104569e29 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -235,6 +235,8 @@ except ImportError, e: if 'test' in sys.argv: SOUTH_TESTS_MIGRATE = False + DATABASES['default']['ENGINE'] = \ + 'django.contrib.gis.db.backends.spatialite' PROJECT_SLUG = locals().get('PROJECT_SLUG', 'default') -- cgit v1.2.3