diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/csrf.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/csrf.txt b/docs/ref/contrib/csrf.txt index f8b3cf2646..5c73ba3242 100644 --- a/docs/ref/contrib/csrf.txt +++ b/docs/ref/contrib/csrf.txt @@ -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 |
