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:
Jeffrey Forman 2017-03-25 16:20:02 -04:00
parent ff8088defa
commit 6ecae8b772
1 changed files with 1 additions and 1 deletions

View File

@ -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'