summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-03-19 23:28:16 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-03-19 23:28:16 +0000
commit4e7a4eda3d442f44f778bddb5668ba1e4947559f (patch)
treed124bcd9a7307daa041665650b2cf53e1dbd7eca /docs/topics/http
parent2d287247308ea5e40214f4564b91b633959902a9 (diff)
Updated all refs to default middleware in docs.
(adding CSRF, removing XView which is no longer a default) git-svn-id: http://code.djangoproject.com/svn/django/trunk@10095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/http')
-rw-r--r--docs/topics/http/middleware.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt
index 54d4c42194..bafdd65484 100644
--- a/docs/topics/http/middleware.txt
+++ b/docs/topics/http/middleware.txt
@@ -28,9 +28,10 @@ created by :djadmin:`django-admin.py startproject <startproject>`::
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
+ 'django.contrib.csrf.middleware.CsrfViewMiddleware',
+ 'django.contrib.csrf.middleware.CsrfResponseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.middleware.doc.XViewMiddleware',
)
During the request phases (:meth:`process_request` and :meth:`process_view`