소스 검색

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