0002-debian-use-new-TEMPLATES-settings-system-19578.patch
debian/debian_config.py | ||
---|---|---|
16 | 16 |
INSTALLED_APPS = ('hobo.agent.combo', ) + INSTALLED_APPS |
17 | 17 | |
18 | 18 |
# add statics_hash context processor |
19 |
TEMPLATE_CONTEXT_PROCESSORS = tuple(TEMPLATE_CONTEXT_PROCESSORS) + ('hobo.context_processors.statics_hash',)
|
|
19 |
TEMPLATES[0]['OPTIONS']['context_processors'] += 'hobo.context_processors.statics_hash'
|
|
20 | 20 | |
21 | 21 |
# |
22 | 22 |
# local settings |
debian/settings.py | ||
---|---|---|
13 | 13 | |
14 | 14 |
# SECURITY WARNING: don't run with debug turned on in production! |
15 | 15 |
DEBUG = False |
16 |
TEMPLATE_DEBUG = False |
|
17 | 16 | |
18 | 17 |
#ADMINS = ( |
19 | 18 |
# # ('User 1', 'watchdog@example.net'), |
20 |
- |