mirror of https://github.com/django/django.git
Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.
Thanks Keryn Knight.
This commit is contained in:
parent
f067887a4f
commit
26c4bd38ac
|
@ -28,11 +28,12 @@ here's the default value created by :djadmin:`django-admin.py startproject
|
|||
<startproject>`::
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
)
|
||||
|
||||
A Django installation doesn't require any middleware —
|
||||
|
|
Loading…
Reference in New Issue