DEBUG = True if os.environ.get('DEBUG') == 'True' else False
+# -*- coding: utf-8 -*-
+#
+# Copyright (c) 2016-2017 Ircam
+# Copyright (c) 2016-2017 Guillaume Pellerin
+# Copyright (c) 2016-2017 Emilie Zawadzki
+
+# This file is part of mezzanine-organization.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+import os
+from django.utils.translation import ugettext_lazy as _
+from datetime import datetime, date
+
+DEBUG = True if os.environ.get('DEBUG') == 'True' else False
+
+
ADMINS = (
('Guillaume Pellerin', 'guillaume.pellerin@ircam.fr'),
- ('Emilie Zawadzki', 'emilie.zawadzki@ircam.fr'),
+ ('David Palomares', 'd.palomares@libelium.com'),
)
# Make these unique, and don't share it with anybody.
EMAIL_HOST = 'smtp.ircam.fr'
EMAIL_PORT = '25'
-DEFAULT_FROM_EMAIL = 'cri-dev@ircam.fr'
-DEFAULT_TO_EMAIL = 'cri-dev@ircam.fr'
-EMAIL_SUBJECT_PREFIX = "[IRCAM]"
+SERVER_EMAIL = 'no-reply-vertigo@ircam.fr'
+DEFAULT_FROM_EMAIL = 'Vertigo@iuk.fraunhofer.de'
+DEFAULT_TO_EMAIL = 'Vertigo@iuk.fraunhofer.de'
+EMAIL_SUBJECT_PREFIX = "[VERTIGO]"
-SITE_TITLE = 'IRCAM'
-SITE_TAGLINE = 'IRCAM'
+SITE_TITLE = 'VERTIGO'
+SITE_TAGLINE = 'VERTIGO'
EVENT_DOMAIN = "//eve.ircam.fr"
EVENT_SHOP_URL = EVENT_DOMAIN+"/pub.php/event/%d/edit"
FIGGO_API_URL_PROD='https://ircam.ilucca.net/'
FIGGO_API_HEADER_AUTH='Lucca application=bd6d5481-40eb-414b-9135-434e12749223'
-# HOST_THEMES = [
-# ('manifeste.ircam.fr', 'themes.base'),
-# ]
+HOST_THEMES = [
+ ('vertigo.ircam.fr', 'organization_themes.vertigo-themes.vertigo_ircam_fr'),
+ ('vertigo.starts.eu', 'organization_themes.vertigo-themes.vertigo_starts_eu'),
+ ('www.starts.eu', 'organization_themes.vertigo-themes.www_starts_eu'),
+]
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies"
-SITE_ID = 1
+SITE_ID = 3
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
INSTALLED_APPS = [
"organization_themes",
- "organization_themes.ircam-www-theme",
+ "organization_themes.vertigo-themes.vertigo_ircam_fr",
+ "organization_themes.vertigo-themes.vertigo_starts_eu",
+ "organization_themes.vertigo-themes.www_starts_eu",
"modeltranslation",
"dal",
"dal_select2",