0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Merge pull request #2224 from Ian-Foote/patch-1

Fix typo CRSF -> CSRF
This commit is contained in:
Alex Gaynor 2014-01-29 08:57:34 -08:00
commit 1ed02843ab

View File

@ -447,7 +447,7 @@ should be the innermost decorator).
View needs protection for one path
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A view needs CRSF protection under one set of conditions only, and mustn't have
A view needs CSRF protection under one set of conditions only, and mustn't have
it for the rest of the time.
Solution: use :func:`~django.views.decorators.csrf.csrf_exempt` for the whole