mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	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:
		| @@ -31,7 +31,7 @@ To enable CSRF protection for your views, follow these steps: | |||||||
|     1. Add the middleware |     1. Add the middleware | ||||||
|        ``'django.middleware.csrf.CsrfViewMiddleware'`` to your list of |        ``'django.middleware.csrf.CsrfViewMiddleware'`` to your list of | ||||||
|        middleware classes, :setting:`MIDDLEWARE_CLASSES`.  (It should come |        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.) |        been dealt with.) | ||||||
|  |  | ||||||
|        Alternatively, you can use the decorator |        Alternatively, you can use the decorator | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user