Project

General

Profile

0001-add-django-context_processors.request-in-context-pro.patch

Serghei Mihai, 05 January 2018 10:25 AM

Download (926 Bytes)

View differences:

Subject: [PATCH] add django context_processors.request in context processors
 (#21007)

 corbo/settings.py | 4 ++++
 1 file changed, 4 insertions(+)
corbo/settings.py
84 84

  
85 85
STATICFILES_FINDERS = global_settings.STATICFILES_FINDERS + ('gadjo.finders.XStaticFinder',)
86 86

  
87
if not 'django.core.context_processors.request' in global_settings.TEMPLATE_CONTEXT_PROCESSORS:
88
    TEMPLATE_CONTEXT_PROCESSORS = ('django.template.context_processors.request',) + \
89
            global_settings.TEMPLATE_CONTEXT_PROCESSORS
90

  
87 91

  
88 92
# Static files (CSS, JavaScript, Images)
89 93
# https://docs.djangoproject.com/en/1.7/howto/static-files/
90
-