settings.py: switch to django.template.context_processors

This change was made softly in Django 1.8 but will become mandatory in
future versions.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-04-12 14:54:08 +12:00
parent 705ee26cac
commit 0f4c983bd4

View File

@ -121,7 +121,7 @@ X_FRAME_OPTIONS = 'DENY'
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP
TEMPLATE_CONTEXT_PROCESSORS = TCP + ( TEMPLATE_CONTEXT_PROCESSORS = TCP + (
'django.core.context_processors.request', 'django.template.context_processors.request',
'layerindex.context_processors.layerindex_context', 'layerindex.context_processors.layerindex_context',
) )