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
1 changed files with 2 additions and 0 deletions

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