mirror of https://github.com/django/django.git
Added versionadded info for ensure_csrf_cookie decorator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
59b2439e7e
commit
0447cc1231
|
@ -349,6 +349,8 @@ Utilities
|
||||||
|
|
||||||
.. function:: ensure_csrf_cookie(view)
|
.. function:: ensure_csrf_cookie(view)
|
||||||
|
|
||||||
|
.. versionadded:: 1.4
|
||||||
|
|
||||||
This decorator forces a view to send the CSRF cookie.
|
This decorator forces a view to send the CSRF cookie.
|
||||||
|
|
||||||
Scenarios
|
Scenarios
|
||||||
|
|
Loading…
Reference in New Issue