diff options
| author | Timo Graham <timograham@gmail.com> | 2011-04-30 13:02:47 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-04-30 13:02:47 +0000 |
| commit | c05dd20fa5896ac9e983415a60ce13fb0f028dc0 (patch) | |
| tree | 575e3c6375982b15b9aa3c2e6bd39ff70e7be1d3 /docs | |
| parent | 0e9e0f0b21b667ec3d2889f7912d6a49dab102ea (diff) | |
[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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/testing.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index 41768576af..e01c3e6155 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -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 ~~~~~~~ |
