diff options
| author | Ian Foote <python@ian.feete.org> | 2014-01-29 16:54:02 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-01-29 12:08:55 -0500 |
| commit | 4e115af105a257f3d87327d1d324a6938a504245 (patch) | |
| tree | fc3cfd1ff33faf7de10c11eacc5584c4c8bdddf3 | |
| parent | b55d0ebff20c1870ea33ac9947e2accd4d436822 (diff) | |
[1.5.x] Fix typo CRSF -> CSRF
Backport of af64f829d7 from master
| -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 22e7547d93..a5f4492be8 100644 --- a/docs/ref/contrib/csrf.txt +++ b/docs/ref/contrib/csrf.txt @@ -448,7 +448,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 |
