summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-26 18:34:09 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-26 18:34:09 +0100
commit7538666202784f731291f82ca75e2ff2d84b1fe7 (patch)
tree04c4f2769840880c3311f34a57597372509bdcd6 /example_project
parent2903d5c16d4613b705e1b6d85315010946720029 (diff)
downloadIshtar-7538666202784f731291f82ca75e2ff2d84b1fe7.tar.bz2
Ishtar-7538666202784f731291f82ca75e2ff2d84b1fe7.zip
Operations: bulk update of base find and finds (refs #3472)
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 16b982fa2..b19867662 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -216,6 +216,8 @@ SURFACE_UNIT_LABEL = u'm²'
JOINT = u" | "
ISHTAR_OPE_PREFIX = u"OA"
ISHTAR_DEF_OPE_PREFIX = u"OP"
+# string len of find indexes - i.e: find with index 42 will be 00042
+ISHTAR_FINDS_INDEX_ZERO_LEN = 5
ISHTAR_OPE_COL_FORMAT = None
# DB key: (txt_idx, label)
ISHTAR_OPE_TYPES = {}
@@ -224,6 +226,7 @@ ISHTAR_PERIODS = {}
ISHTAR_PERMIT_TYPES = {}
ISHTAR_DOC_TYPES = {u"undefined": u"Undefined"}
+
ISHTAR_DPTS = []
PRE_APPS = []
@@ -236,7 +239,9 @@ try:
except ImportError, e:
print('Unable to load local_settings.py:', e)
-if 'test' in sys.argv:
+TESTING = sys.argv[1:2] == ['test']
+
+if TESTING:
SOUTH_TESTS_MIGRATE = False
if USE_SPATIALITE_FOR_TESTS: