mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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
This commit is contained in:
parent
f4f61baa8c
commit
0426962dac
@ -181,7 +181,7 @@ CSRF protection middleware
|
|||||||
:synopsis: Middleware adding protection against Cross Site Request
|
:synopsis: Middleware adding protection against Cross Site Request
|
||||||
Forgeries.
|
Forgeries.
|
||||||
|
|
||||||
.. class:: CsrfMiddleware
|
.. class:: CsrfViewMiddleware
|
||||||
|
|
||||||
Adds protection against Cross Site Request Forgeries by adding hidden form
|
Adds protection against Cross Site Request Forgeries by adding hidden form
|
||||||
fields to POST forms and checking requests for the correct value. See the
|
fields to POST forms and checking requests for the correct value. See the
|
||||||
|
Loading…
Reference in New Issue
Block a user