From 911e09833b471f3199c66a6a1bc19073485cfb92 Mon Sep 17 00:00:00 2001 From: Daniel Harding Date: Fri, 24 Apr 2015 13:55:03 +0100 Subject: [PATCH] [1.8.x] Updated startproject MIDDLEWARE_CLASSES in docs. Backport of ad31bc0565914c4676bfb7c116c4be407a367be4 from master --- docs/topics/http/middleware.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index cc7607da0a..1abcdb58fe 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 —