diff options
| author | Timo Graham <timograham@gmail.com> | 2011-04-30 12:59:24 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2011-04-30 12:59:24 +0000 |
| commit | 2830872d608fb4da2e5965fc2a91ddc50eb16f70 (patch) | |
| tree | 44fb2911d97872e2ecf80b0d6815570dee4a37b1 /docs/topics | |
| parent | 1d7c2dedcd92e5234b8093acefed084d4e0756d7 (diff) | |
Fixed #15876 - Document that test.client.RequestFactory doesn't support sessions or request-altering middleware; thanks slinkp for the suggestion, ShawnMilo for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics')
| -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 fb9f6e53b9..fbc6a7afe8 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 ~~~~~~~ |
