summaryrefslogtreecommitdiff
path: root/docs/topics/testing.txt
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2009-05-17 17:36:04 +0000
committerKaren Tracey <kmtracey@gmail.com>2009-05-17 17:36:04 +0000
commit5a4ad739b772593bb31bd5fd6af07d3a4e047406 (patch)
treeab859eaa84b7d936eef264ce82c3e32ba5d7e53d /docs/topics/testing.txt
parentc8e071b00d9d1ce762ec405c6fdc2dc5f3a6bf8b (diff)
Fixed #10971 -- Corrected code example involving redirect_chain in the testing doc. Thanks yourcelf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/topics/testing.txt')
-rw-r--r--docs/topics/testing.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
index 5bda3d67c1..c07dfb6aa9 100644
--- a/docs/topics/testing.txt
+++ b/docs/topics/testing.txt
@@ -514,7 +514,7 @@ arguments at time of construction:
If you had an url ``/redirect_me/`` that redirected to ``/next/``, that
redirected to ``/final/``, this is what you'd see::
- >>> response = c.get('/redirect_me/')
+ >>> response = c.get('/redirect_me/', follow=True)
>>> response.redirect_chain
[(u'http://testserver/next/', 302), (u'http://testserver/final/', 302)]