summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2011-11-12 17:37:29 +0000
committerKaren Tracey <kmtracey@gmail.com>2011-11-12 17:37:29 +0000
commit0426962dac7e1354d1c1aba9f319151c5d222f87 (patch)
tree2c763ca6725d5d93f59ea65dea434be90d160873 /docs
parentf4f61baa8c4e5213d17d99ed562186895b389952 (diff)
Fix #16998: Update name of the CSRF middleware in doc. Thanks ptone and poirier.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/middleware.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
index 59d05cc053..737e0b2598 100644
--- a/docs/ref/middleware.txt
+++ b/docs/ref/middleware.txt
@@ -181,7 +181,7 @@ CSRF protection middleware
:synopsis: Middleware adding protection against Cross Site Request
Forgeries.
-.. class:: CsrfMiddleware
+.. class:: CsrfViewMiddleware
Adds protection against Cross Site Request Forgeries by adding hidden form
fields to POST forms and checking requests for the correct value. See the