mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #24124 -- Changed context_processors in the default settings.py
This commit is contained in:
parent
bbbed99f62
commit
26a92619f6
6 changed files with 39 additions and 53 deletions
|
@ -501,10 +501,7 @@ Open your settings file (:file:`mysite/settings.py`, remember) and add a
|
|||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
'django.template.context_processors.i18n',
|
||||
'django.template.context_processors.tz',
|
||||
'django.template.context_processors.media',
|
||||
'django.template.context_processors.static',
|
||||
'django.template.context_processors.request',
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue