mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
Fix typo CRSF -> CSRF
This commit is contained in:
parent
ad975c64fc
commit
af64f829d7
@ -447,7 +447,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user