From 5a51737ff6cf99dbc67aac9b3e36d5f24156c2b3 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 23 Feb 2017 23:45:23 +0100 Subject: [PATCH] Fix themes init, fix page placeholder names --- app/settings.py | 6 +++--- app/themes/base/__init__.py | 0 app/themes/starts_eu/__init__.py | 0 app/themes/vertigo_starts_eu/__init__.py | 0 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 app/themes/base/__init__.py create mode 100644 app/themes/starts_eu/__init__.py create mode 100644 app/themes/vertigo_starts_eu/__init__.py 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 -- 2.39.5