summaryrefslogtreecommitdiff
path: root/docs/topics
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-10-08 15:44:28 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-10-08 15:44:28 +0000
commit21be09dbb40ba7300b5b1fdb90cf25e8637a4971 (patch)
tree840fbe7d3f00840b0f854cae75006a2a723c0390 /docs/topics
parent83f762e3ac8a531eec0886d0f10d38c86dcde715 (diff)
[1.2.X] 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.
Backport of r14011 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14022 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 074f948461..02be4cfe22 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