Updated startproject MIDDLEWARE_CLASSES in docs.

This commit is contained in:
Daniel Harding 2015-04-24 13:55:03 +01:00 committed by Tim Graham
parent b9e972b961
commit ad31bc0565
1 changed files with 2 additions and 0 deletions

View File

@ -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 —