From 0447cc123118c4740ccc6e25914f0e30308da55e Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Mon, 27 Feb 2012 14:40:36 +0000 Subject: [PATCH] Added versionadded info for ensure_csrf_cookie decorator git-svn-id: http://code.djangoproject.com/svn/django/trunk@17594 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/csrf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/ref/contrib/csrf.txt b/docs/ref/contrib/csrf.txt index fa1ae7a6ce..564f3b58b6 100644 --- a/docs/ref/contrib/csrf.txt +++ b/docs/ref/contrib/csrf.txt @@ -349,6 +349,8 @@ Utilities .. function:: ensure_csrf_cookie(view) + .. versionadded:: 1.4 + This decorator forces a view to send the CSRF cookie. Scenarios