Commit c05dd20f authored by Timo Graham's avatar Timo Graham
Browse files

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

[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
parent 0e9e0f0b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1060,6 +1060,10 @@ restricted subset of the test client API:
      ``follows``. Since this is just a factory for producing
      requests, it's up to you to handle the response.

    * It does not support middleware. Session and authentication
      attributes must be supplied by the test itself if required
      for the view to function properly.

Example
~~~~~~~