Explorar o código

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
Karen Tracey %!s(int64=13) %!d(string=hai) anos
pai
achega
0426962dac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/ref/middleware.txt

+ 1 - 1
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