mirror of
https://github.com/django/django.git
synced 2024-12-25 10:35:48 +00:00
[1.8.x] Updated startproject MIDDLEWARE_CLASSES in docs.
Backport of ad31bc0565
from master
This commit is contained in:
parent
415a65fc0c
commit
911e09833b
@ -32,8 +32,10 @@ here's the default value created by :djadmin:`django-admin startproject
|
|||||||
'django.middleware.common.CommonMiddleware',
|
'django.middleware.common.CommonMiddleware',
|
||||||
'django.middleware.csrf.CsrfViewMiddleware',
|
'django.middleware.csrf.CsrfViewMiddleware',
|
||||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||||
|
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
|
||||||
'django.contrib.messages.middleware.MessageMiddleware',
|
'django.contrib.messages.middleware.MessageMiddleware',
|
||||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||||
|
'django.middleware.security.SecurityMiddleware',
|
||||||
)
|
)
|
||||||
|
|
||||||
A Django installation doesn't require any middleware —
|
A Django installation doesn't require any middleware —
|
||||||
|
Loading…
Reference in New Issue
Block a user