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
commit9c589216b353924674b4d89b99053ad9f5cf1276 (patch)
tree22f26730c66de9d357f3ceb2f343d6d0cab53b91 /example_project
parent0984023102759aef68cf53c0ac7b9d15c050c3c4 (diff)
downloadIshtar-9c589216b353924674b4d89b99053ad9f5cf1276.tar.bz2
Ishtar-9c589216b353924674b4d89b99053ad9f5cf1276.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 = ""