1
0
mirror of https://github.com/django/django.git synced 2025-03-03 05:24:24 +00:00

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:
Luke Plant 2012-02-27 14:40:36 +00:00
parent 59b2439e7e
commit 0447cc1231

View File

@ -349,6 +349,8 @@ Utilities
.. function:: ensure_csrf_cookie(view)
.. versionadded:: 1.4
This decorator forces a view to send the CSRF cookie.
Scenarios