in django 1.8, django.core.context_processors moved into django.template.context_processors.
Note to self: always test in a container running a recent version of django. i was still testing on 1.7 :/
This commit is contained in:
parent
ff8088defa
commit
6ecae8b772
|
@ -62,10 +62,10 @@ TEMPLATES = [
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': [
|
'context_processors': [
|
||||||
'django.contrib.auth.context_processors.auth',
|
'django.contrib.auth.context_processors.auth',
|
||||||
'django.core.context_processors.request',
|
|
||||||
'django.template.context_processors.debug',
|
'django.template.context_processors.debug',
|
||||||
'django.template.context_processors.i18n',
|
'django.template.context_processors.i18n',
|
||||||
'django.template.context_processors.media',
|
'django.template.context_processors.media',
|
||||||
|
'django.template.context_processors.request',
|
||||||
'django.template.context_processors.static',
|
'django.template.context_processors.static',
|
||||||
'django.template.context_processors.tz',
|
'django.template.context_processors.tz',
|
||||||
'django.contrib.messages.context_processors.messages'
|
'django.contrib.messages.context_processors.messages'
|
||||||
|
|
Loading…
Reference in New Issue