Ticket #16606: csrf_typo.diff

File csrf_typo.diff, 637 bytes (added by Selwin Ong, 13 years ago)
  • docs/ref/contrib/csrf.txt

    diff --git a/docs/ref/contrib/csrf.txt b/docs/ref/contrib/csrf.txt
    index 50e15d7..a932a0e 100644
    a b To enable CSRF protection for your views, follow these steps:  
    3131    1. Add the middleware
    3232       ``'django.middleware.csrf.CsrfViewMiddleware'`` to your list of
    3333       middleware classes, :setting:`MIDDLEWARE_CLASSES`.  (It should come
    34        and before any view middleware that assume that CSRF attacks have
     34       before any view middleware that assume that CSRF attacks have
    3535       been dealt with.)
    3636
    3737       Alternatively, you can use the decorator
Back to Top