mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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:
parent
705ee26cac
commit
0f4c983bd4
|
@ -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',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user