From 0426962dac7e1354d1c1aba9f319151c5d222f87 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sat, 12 Nov 2011 17:37:29 +0000 Subject: [PATCH] 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 --- docs/ref/middleware.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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