debian: use new TEMPLATES settings system (#19578)

This commit is contained in:
Thomas NOËL 2017-10-30 15:28:08 +01:00
parent d110b98e23
commit 2a93c51780
2 changed files with 1 additions and 2 deletions

View File

@ -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

1
debian/settings.py vendored
View File

@ -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'),