summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-06-02 13:18:25 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:21 +0100
commitfa90d96f807d56d87ccfbb3141e70a7603ca5b60 (patch)
tree22f26730c66de9d357f3ceb2f343d6d0cab53b91 /example_project
parent916311c130b2a736374444894e232df605fd7d19 (diff)
downloadIshtar-fa90d96f807d56d87ccfbb3141e70a7603ca5b60.tar.bz2
Ishtar-fa90d96f807d56d87ccfbb3141e70a7603ca5b60.zip
Documents form: new fields
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 50aa231ad..344fd8eab 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -259,14 +259,18 @@ ISHTAR_QRCODE_VERSION = 6 # density of the QR code
ISHTAR_QRCODE_SCALE = 2 # scale of the QR code
ISHTAR_DEFAULT_YEAR = 1900
+ISHTAR_SLUGS = {
+ "document-editor": ["editor"],
+}
+
SRID = 4326 # WGS84 - World
SURFACE_SRID = 4326 # WGS84 - World
ENCODING = 'windows-1252'
ALT_ENCODING = 'ISO-8859-15'
APP_NAME = "SRA - Pays de la Loire"
SURFACE_UNIT = 'square-metre'
-SURFACE_UNIT_LABEL = u'm²'
-JOINT = u" | "
+SURFACE_UNIT_LABEL = 'm²'
+JOINT = " | "
# dir for ishtar maintenance script - as it can be a serious security issue if
# not managed cautiously the dir contening theses scripts is not set by default
ISHTAR_SCRIPT_DIR = ""