diff options
-rw-r--r-- | settings.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/settings.py b/settings.py index 391c6e5..da703fb 100644 --- a/settings.py +++ b/settings.py @@ -300,8 +300,12 @@ if 'MAP_JS_URLS' not in globals(): if 'MAP_CSS_URLS' not in globals(): global MAP_CSS_URLS - # key: [(url, condition)] MAP_CSS_URLS = { + 'openlayers':["http://www.openlayers.org/api/theme/default/style.css"], + 'leaflet':[STATIC_URL + "leaflet/leaflet.css"], + } + # key: [(url, condition)] + MAP_CONDITIONNAL_CSS_URLS = { 'openlayers':[("http://www.openlayers.org/api/theme/default/style.css", None)], 'leaflet':[ |