From: Guillaume Pellerin Date: Thu, 23 Feb 2017 22:45:23 +0000 (+0100) Subject: Fix themes init, fix page placeholder names X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5a51737ff6cf99dbc67aac9b3e36d5f24156c2b3;p=mezzo.git Fix themes init, fix page placeholder names --- diff --git a/app/settings.py b/app/settings.py index 47d3d68a..80b70167 100644 --- a/app/settings.py +++ b/app/settings.py @@ -66,11 +66,11 @@ DEBUG = True if os.environ.get('DEBUG') == 'True' else False PAGE_MENU_TEMPLATES = ( (1, _("Action"), "pages/menus/action.html"), - (2, _("Departement"), "pages/menus/header.html"), + (2, _("Header"), "pages/menus/header.html"), (3, _("Footer vertical"), "pages/menus/footer_vertical.html"), (4, _("Footer horizontal"), "pages/menus/footer_horizontal.html"), (5, _("Magazine"), "pages/menus/magazine.html"), - (6, _("Vous êtes"), "pages/menus/vous_etes.html"), + (6, _("You are"), "pages/menus/vous_etes.html"), ) @@ -138,7 +138,7 @@ LOCALE_PATHS = ['locale',] SESSION_EXPIRE_AT_BROWSER_CLOSE = False SESSION_ENGINE = "django.contrib.sessions.backends.signed_cookies" -SITE_ID = 2 +SITE_ID = 3 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. diff --git a/app/themes/base/__init__.py b/app/themes/base/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app/themes/starts_eu/__init__.py b/app/themes/starts_eu/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/app/themes/vertigo_starts_eu/__init__.py b/app/themes/vertigo_starts_eu/__init__.py new file mode 100644 index 00000000..e69de29b