summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2015-02-26 15:06:21 +0100
committerÉtienne Loks <etienne.loks@proxience.com>2015-02-26 15:06:21 +0100
commitd3321c3eba1d1aea9ea0e75b999c540fc55ffb59 (patch)
tree033cca02fef519bcba3f21a694c01288a3893479
parent27c00e2c5fb8a01eb33658a0d40d11f3723ced55 (diff)
parenta8939240991e5c1b90faff2e940b4035d5d11b51 (diff)
downloadChimère - projet de référence-v2.1.tar.bz2
Chimère - projet de référence-v2.1.zip
Merge branch 'v2.1' of gitorious.org:chimere-example-project/chimere-example-project into v2.1v2.1
-rw-r--r--settings.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 0d7009c..47fab7b 100644
--- a/settings.py
+++ b/settings.py
@@ -9,6 +9,7 @@ _ = lambda s: s
DEBUG = False
TEMPLATE_DEBUG = DEBUG
+MOBILE_TEST = False
# Django settings for chimere project.
PROJECT_NAME = 'Chimere'
@@ -252,6 +253,7 @@ INSTALLED_APPS += [
]
LOG_PATH = '/var/log/django/'
+MOBILE_DOMAINS = [] # if you have specific domains for mobile access
CHIMERE_VIEW_RENDERER = 'openlayers' # 'openlayers' or 'leaflet'
CHIMERE_EDIT_RENDERER = 'openlayers' # 'openlayers'
@@ -371,4 +373,8 @@ if 'OSM_JS_URLS' not in globals():
OSM_JS_URLS = [STATIC_URL + "openlayers/OpenLayers.js",
STATIC_URL + "openlayers/SimplePanZoom.js",
"http://www.openstreetmap.org/openlayers/OpenStreetMap.js"]
-
+if 'OSM_MOBILE_JS_URLS' not in globals():
+ global OSM_MOBILE_URLS
+ OSM_JS_MOBILE_URLS = [STATIC_URL + "openlayers/OpenLayers.mobile.js",
+ STATIC_URL + "openlayers/SimplePanZoom.js",
+ "http://www.openstreetmap.org/openlayers/OpenStreetMap.js"]