Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.3.X] Fixed #15876 - Document that test.client.RequestFactory doesn…

…'t support sessions or request-altering middleware; thanks slinkp for the suggestion, ShawnMilo for the patch.

Backport of r16128 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c05dd20fa5896ac9e983415a60ce13fb0f028dc0 1 parent 0e9e0f0
Tim Graham authored April 30, 2011

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  docs/topics/testing.txt
4  docs/topics/testing.txt
@@ -1060,6 +1060,10 @@ restricted subset of the test client API:
1060 1060
       ``follows``. Since this is just a factory for producing
1061 1061
       requests, it's up to you to handle the response.
1062 1062
 
  1063
+    * It does not support middleware. Session and authentication
  1064
+      attributes must be supplied by the test itself if required
  1065
+      for the view to function properly.
  1066
+
1063 1067
 Example
1064 1068
 ~~~~~~~
1065 1069
 

0 notes on commit c05dd20

Please sign in to comment.
Something went wrong with that request. Please try again.