summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Harding <dharding@living180.net>2015-04-24 13:55:03 +0100
committerTim Graham <timograham@gmail.com>2015-04-24 09:32:40 -0400
commitad31bc0565914c4676bfb7c116c4be407a367be4 (patch)
treec06ed65ede2dd2447e239d1de491ff648beff195 /docs
parentb9e972b96171236c40a8a922c62d36b49854ee52 (diff)
Updated startproject MIDDLEWARE_CLASSES in docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/http/middleware.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt
index cd03870c31..503a95cdfe 100644
--- a/docs/topics/http/middleware.txt
+++ b/docs/topics/http/middleware.txt
@@ -32,8 +32,10 @@ here's the default value created by :djadmin:`django-admin startproject
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
+ 'django.middleware.security.SecurityMiddleware',
]
A Django installation doesn't require any middleware —