Template_context_processors has been depreciated in django 1.8
Basiczombie opened this issue · 7 comments
TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.request',
)
This was depreciated in Django 1.8. It is saying that Template Dictionaries take precedent. Do you have a work around to place the needed code within the Templates -> options -> context_processors in the settings post 1.8?
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
'templates',
],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.template.context_processors.media',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
Which exactly the problem?
The setting TEMPLATE_CONTEXT_PROCESSORS has been depreciated in Django 1.8. It still works but my server keeps yelling at me to put it into the TEMPLATES setting which when added to the context_processors in the Options breaks the module.
how does it break? any error message?
@Basiczombie can you put the warning message here please?
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_CONTEXT_PROCESSORS.
But, doesn't ıt show the exactly fıle and lıne that gıve you the error?
İ revıewed the package oversıde and the settıngs fıle hasn't these optıon, so, the problem ıs an error ın the documentatıon, ısn't ıt?
@Basiczombie fixed with new version ?