Code

Ticket #16606: csrf_typo.diff

File csrf_typo.diff, 637 bytes (added by selwin, 3 years ago)
Line 
1diff --git a/docs/ref/contrib/csrf.txt b/docs/ref/contrib/csrf.txt
2index 50e15d7..a932a0e 100644
3--- a/docs/ref/contrib/csrf.txt
4+++ b/docs/ref/contrib/csrf.txt
5@@ -31,7 +31,7 @@ To enable CSRF protection for your views, follow these steps:
6     1. Add the middleware
7        ``'django.middleware.csrf.CsrfViewMiddleware'`` to your list of
8        middleware classes, :setting:`MIDDLEWARE_CLASSES`.  (It should come
9-       and before any view middleware that assume that CSRF attacks have
10+       before any view middleware that assume that CSRF attacks have
11        been dealt with.)
12 
13        Alternatively, you can use the decorator