[1.5.x] Fix typo CRSF -> CSRF

Backport of af64f829d7 from master
This commit is contained in:
Ian Foote 2014-01-29 16:54:02 +00:00 committed by Tim Graham
parent b55d0ebff2
commit 4e115af105
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ should be the innermost decorator).
View needs protection for one path 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. it for the rest of the time.
Solution: use :func:`~django.views.decorators.csrf.csrf_exempt` for the whole Solution: use :func:`~django.views.decorators.csrf.csrf_exempt` for the whole