From 0b7d737d9fbffde9aa0f75e7a707f5398cb2ddba Mon Sep 17 00:00:00 2001 From: Daniel Harding Date: Fri, 24 Apr 2015 13:55:03 +0100 Subject: [PATCH] [1.7.x] Updated startproject MIDDLEWARE_CLASSES in docs. Backport of ad31bc0565914c4676bfb7c116c4be407a367be4 from master --- docs/topics/http/middleware.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index 308cbbf0a9..fd4c4f661e 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -32,6 +32,7 @@ here's the default value created by :djadmin:`django-admin.py 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', )