From ad31bc0565914c4676bfb7c116c4be407a367be4 Mon Sep 17 00:00:00 2001 From: Daniel Harding Date: Fri, 24 Apr 2015 13:55:03 +0100 Subject: [PATCH] Updated startproject MIDDLEWARE_CLASSES in docs. --- 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 cd03870c317..503a95cdfe6 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 —