8000 Updated startproject MIDDLEWARE_CLASSES in docs. · ddriddle/django@ad31bc0 · GitHub
[go: up one dir, main page]

Skip to content

Commit ad31bc0

Browse files
living180timgraham
authored andcommitted
Updated startproject MIDDLEWARE_CLASSES in docs.
1 parent b9e972b commit ad31bc0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/topics/http/middleware.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ here's the default value created by :djadmin:`django-admin startproject
3232
'django.middleware.common.CommonMiddleware',
3333
'django.middleware.csrf.CsrfViewMiddleware',
3434
'django.contrib.auth.middleware.AuthenticationMiddleware',
35+
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
3536
'django.contrib.messages.middleware.MessageMiddleware',
3637
'django.middleware.clickjacking.XFrameOptionsMiddleware',
38+
'django.middleware.security.SecurityMiddleware',
3739
]
3840

3941
A Django installation doesn't require any middleware —

0 commit comments

Comments
 (0)
0