summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-28 14:11:54 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-28 14:11:54 +0200
commite1bff84fa5aba64c5a6e8b9e94b6948c454c3455 (patch)
tree0d962640c65fc3d787efdf1570d33600f05662d1
parentac2b15d6bbfaade80562a2c6267e2e843c77d968 (diff)
downloadIshtar-e1bff84fa5aba64c5a6e8b9e94b6948c454c3455.tar.bz2
Ishtar-e1bff84fa5aba64c5a6e8b9e94b6948c454c3455.zip
Use spatialite for tests
-rw-r--r--example_project/settings.py2
1 files changed, 2 insertions, 0 deletions
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')