Bläddra i källkod

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 13 år sedan
förälder
incheckning
0426962dac
1 ändrade filer med 1 tillägg och 1 borttagningar
  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