From 0e6aabcbe3d3fd4ee93d839f68bf462a075b93fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 2 Jan 2018 17:37:17 +0100 Subject: [PATCH] debian: update for new TEMPLATES settings (#20955) --- debian/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/settings.py b/debian/settings.py index 3d812b31..81d51167 100644 --- a/debian/settings.py +++ b/debian/settings.py @@ -13,7 +13,6 @@ # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False -TEMPLATE_DEBUG = False #ADMINS = ( # # ('User 1', 'watchdog@example.net'), @@ -54,9 +53,10 @@ TIME_ZONE = 'Europe/Paris' # CSRF_COOKIE_SECURE = True # SESSION_COOKIE_SECURE = True -TEMPLATE_CONTEXT_PROCESSORS = ('django.core.context_processors.request', +TEMPLATES[0]['OPTIONS']['context_processors'] = [ 'hobo.context_processors.template_vars', - 'hobo.context_processors.theme_base') + TEMPLATE_CONTEXT_PROCESSORS + 'hobo.context_processors.theme_base', + ] + TEMPLATES[0]['OPTIONS']['context_processors'] if not 'MIDDLEWARE_CLASSES' in globals(): MIDDLEWARE_CLASSES = global_settings.MIDDLEWARE_CLASSES -- 2.15.1