Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.6.x] Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.

Thanks Keryn Knight.

Backport of 26c4bd3 from master
  • Loading branch information...
commit 06f484dcf9984f2a2223f20422e130844c246800 1 parent 7cc91ea
@timgraham timgraham authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/topics/http/middleware.txt
View
3  docs/topics/http/middleware.txt
@@ -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 —
Please sign in to comment.
Something went wrong with that request. Please try again.