diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-08 15:44:28 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-08 15:44:28 +0000 |
| commit | 21be09dbb40ba7300b5b1fdb90cf25e8637a4971 (patch) | |
| tree | 840fbe7d3f00840b0f854cae75006a2a723c0390 /docs/topics | |
| parent | 83f762e3ac8a531eec0886d0f10d38c86dcde715 (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.txt | 2 |
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 |
