diff options
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 |
commit | 606e7a781722b671f98135f72149f7b290f320bd (patch) | |
tree | 0d962640c65fc3d787efdf1570d33600f05662d1 /example_project/settings.py | |
parent | 691cb027a5c9fac6f78a3c82da06c476d240954e (diff) | |
download | Ishtar-606e7a781722b671f98135f72149f7b290f320bd.tar.bz2 Ishtar-606e7a781722b671f98135f72149f7b290f320bd.zip |
Use spatialite for tests
Diffstat (limited to 'example_project/settings.py')
-rw-r--r-- | example_project/settings.py | 2 |
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') |