From 4d4d68a2cd8d93ce4bc4280b47051f294b280e73 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 8 Oct 2010 14:48:04 +0000 Subject: 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 --- docs/topics/testing.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/topics') 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 -- cgit v1.3