Fixed #16606 - Typo in docs/ref/contrib/csrf.txt; thanks selwin.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2011-08-13 11:25:57 +00:00
parent e11c647d60
commit f3bf62230a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ To enable CSRF protection for your views, follow these steps:
1. Add the middleware
``'django.middleware.csrf.CsrfViewMiddleware'`` to your list of
middleware classes, :setting:`MIDDLEWARE_CLASSES`. (It should come
and before any view middleware that assume that CSRF attacks have
before any view middleware that assume that CSRF attacks have
been dealt with.)
Alternatively, you can use the decorator