From 2a93c517808f05ff7308e3c831d329e6465cb64d Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Mon, 30 Oct 2017 15:28:08 +0100 Subject: [PATCH 2/2] debian: use new TEMPLATES settings system (#19578) --- debian/debian_config.py | 2 +- debian/settings.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/debian_config.py b/debian/debian_config.py index 41060d1..2141855 100644 --- a/debian/debian_config.py +++ b/debian/debian_config.py @@ -16,7 +16,7 @@ execfile('/usr/lib/hobo/debian_config_common.py') INSTALLED_APPS = ('hobo.agent.combo', ) + INSTALLED_APPS # add statics_hash context processor -TEMPLATE_CONTEXT_PROCESSORS = tuple(TEMPLATE_CONTEXT_PROCESSORS) + ('hobo.context_processors.statics_hash',) +TEMPLATES[0]['OPTIONS']['context_processors'] += 'hobo.context_processors.statics_hash' # # local settings diff --git a/debian/settings.py b/debian/settings.py index 48d5b6a..d9d69bd 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'), -- 2.14.2