0001-debian-update-for-new-TEMPLATES-settings-20955.patch
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'), |
... | ... | |
54 | 53 |
# CSRF_COOKIE_SECURE = True |
55 | 54 |
# SESSION_COOKIE_SECURE = True |
56 | 55 | |
57 |
TEMPLATE_CONTEXT_PROCESSORS = ('django.core.context_processors.request',
|
|
56 |
TEMPLATES[0]['OPTIONS']['context_processors'] = [
|
|
58 | 57 |
'hobo.context_processors.template_vars', |
59 |
'hobo.context_processors.theme_base') + TEMPLATE_CONTEXT_PROCESSORS |
|
58 |
'hobo.context_processors.theme_base', |
|
59 |
] + TEMPLATES[0]['OPTIONS']['context_processors'] |
|
60 | 60 | |
61 | 61 |
if not 'MIDDLEWARE_CLASSES' in globals(): |
62 | 62 |
MIDDLEWARE_CLASSES = global_settings.MIDDLEWARE_CLASSES |
63 |
- |