From 5073de7162cc730d0eb17309e01322dba984c49b Mon Sep 17 00:00:00 2001 From: Thomas NOEL Date: Mon, 30 Oct 2017 15:22:50 +0100 Subject: [PATCH] debian: use new TEMPLATES settings system (#19578) --- debian/debian_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/debian_config.py b/debian/debian_config.py index 41060d1..e1f6087 100644 --- a/debian/debian_config.py +++ b/debian/debian_config.py @@ -15,13 +15,13 @@ execfile('/usr/lib/hobo/debian_config_common.py') # add custom hobo agent module INSTALLED_APPS = ('hobo.agent.combo', ) + INSTALLED_APPS -# add statics_hash context processor -TEMPLATE_CONTEXT_PROCESSORS = tuple(TEMPLATE_CONTEXT_PROCESSORS) + ('hobo.context_processors.statics_hash',) - # # local settings # execfile(os.path.join(ETC_DIR, 'settings.py')) +# add statics_hash context processor +TEMPLATES[0]['OPTIONS']['context_processors'] += 'hobo.context_processors.statics_hash' + # run additional settings snippets execfile('/usr/lib/hobo/debian_config_settings_d.py') -- 2.14.2