summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-30 12:31:28 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-30 12:31:28 +0200
commit7436163934fcfc94c69fc97bd70466b251fbba77 (patch)
tree53e045e9f05bc0e0252dbf059def75d26f3710ae /example_project/settings.py
parent7db1383ea51e71abda0eeb4e7bb38796cc17f8f4 (diff)
downloadIshtar-7436163934fcfc94c69fc97bd70466b251fbba77.tar.bz2
Ishtar-7436163934fcfc94c69fc97bd70466b251fbba77.zip
Manage new imports for "Pays de la Loire"
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index a9888375f..d856fcce5 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -102,6 +102,7 @@ INSTALLED_APPS = [
'django.contrib.formtools',
'south',
'registration',
+ 'geodjangofla',
'ishtar_common',
'archaeological_operations', # mandatory app to run ishtar
#'django_extensions',
@@ -159,6 +160,10 @@ ISHTAR_OPE_COL_FORMAT = None
ISHTAR_OPE_TYPES = {}
# DB key: txt_idx
ISHTAR_PERIODS = {}
+ISHTAR_PERMIT_TYPES = {}
+ISHTAR_DOC_TYPES = {}
+
+ISHTAR_DPTS = []
EXTRA_APPS = []
@@ -187,3 +192,7 @@ DEBUG_TOOLBAR_PANELS = (
)
DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS':False}
+
+import sys
+if 'test' in sys.argv or 'test_coverage' in sys.argv:
+ DATABASES['default']['engine'] = 'sqlite3'