mirror of
https://github.com/Hopiu/django.git
synced 2026-04-06 16:11:00 +00:00
commit
1ed02843ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue