diff options
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 |
commit | 1ac9350e74bce36eb8f64d8564a3c44e6072600e (patch) | |
tree | 15524fd11dc3d8503966b0e0bf7499a1899272af /example_project | |
parent | 9a88f5af1afbbdeb3fd002bf7d4aaf6d04ba1f01 (diff) | |
download | Chimère-1ac9350e74bce36eb8f64d8564a3c44e6072600e.tar.bz2 Chimère-1ac9350e74bce36eb8f64d8564a3c44e6072600e.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
Diffstat (limited to 'example_project')
-rw-r--r-- | example_project/settings.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py index e6e0430..c48a847 100644 --- a/example_project/settings.py +++ b/example_project/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' |