debian: use new TEMPLATES settings system (#19578)
This commit is contained in:
parent
d110b98e23
commit
2a93c51780
|
@ -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
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue