summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-11-24 15:36:43 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-11-24 15:36:43 +0100
commit9e4df9248031a6d7bb7f3da74259e596e96ba289 (patch)
tree3739814edcdc1f3bebc10c6fe68c2e04a574e13e
parenta6153b8b87e88130068e0b83986516417f8f5257 (diff)
downloadChimère - projet de référence-9e4df9248031a6d7bb7f3da74259e596e96ba289.tar.bz2
Chimère - projet de référence-9e4df9248031a6d7bb7f3da74259e596e96ba289.zip
Admin: improve property model management
* Add the ability to hide property model from the admin * Add a warning to the admin that it should reload the webserver
-rw-r--r--settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index e6e0430..c48a847 100644
--- a/settings.py
+++ b/settings.py
@@ -69,6 +69,10 @@ CHIMERE_OSM_API_URL = 'api06.dev.openstreetmap.org' # test URL
CHIMERE_OSM_USER = 'test'
CHIMERE_OSM_PASSWORD = 'test'
+# as the web server need to be reloaded when property models are changed
+# it could be a good idea to hide it to an admin who could'nt do that
+CHIMERE_HIDE_PROPERTYMODEL = False
+
# encoding for shapefile import
CHIMERE_SHAPEFILE_ENCODING = 'ISO-8859-1'