2👍
Here is the official list of Django’s 1.10 built-in template context processors.
When you do django-admin startproject myproject
you already get prefilled the TEMPLATES
setting among the others:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': []
,
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
You can see the whole template of settings.py
file Django is using, in the github repo of Django
Source:stackexchange.com