summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/views.py3
-rw-r--r--example_project/settings.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/chimere/views.py b/chimere/views.py
index a9b75a2..b504cae 100644
--- a/chimere/views.py
+++ b/chimere/views.py
@@ -135,7 +135,8 @@ def index(request, area_name=None, default_area=None, simple=False):
'areas_visible': settings.CHIMERE_DISPLAY_AREAS,
'map_layer':settings.CHIMERE_DEFAULT_MAP_LAYER,
'dynamic_categories':response_dct['dynamic_categories'],
- 'zoomout':zoomout
+ 'zoomout':zoomout,
+ 'contact_email':settings.CONTACT_EMAIL
})
tpl = 'chimere/main_map.html'
if simple:
diff --git a/example_project/settings.py b/example_project/settings.py
index c878c88..f67ceeb 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -15,6 +15,7 @@ PROJECT_NAME = u'Chimère'
ROOT_PATH = os.path.realpath(os.path.dirname(__file__)) + "/"
EMAIL_HOST = 'localhost'
+CONTACT_EMAIL = ''
STATIC_URL = '/static/'
STATIC_ROOT = ROOT_PATH + 'static/'