浏览代码

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 年之前
父节点
当前提交
0426962dac
共有 1 个文件被更改,包括 1 次插入1 次删除
  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