summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-10-08 14:48:04 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-10-08 14:48:04 +0000
commit4d4d68a2cd8d93ce4bc4280b47051f294b280e73 (patch)
tree6e20f6722af5c71625dc919f353a9ddcb459ebe4 /docs/topics
parented32170a0487cdf045b565cc971067504b79aaf0 (diff)
Fixed #14225 -- Added a documentation marker (and a 1.2.2 release notes file, required to satisfy Sphinx) for the enable_csrf_checks flag on the test client. Thanks to public@grep.ro for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
-rw-r--r--docs/topics/testing.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index 5c1933c946..e2363cc373 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -575,6 +575,8 @@ Note a few important things about how the test client works:
* By default, the test client will disable any CSRF checks
performed by your site.
+ .. versionadded:: 1.2.2
+
If, for some reason, you *want* the test client to perform CSRF
checks, you can create an instance of the test client that
enforces CSRF checks. To do this, pass in the