From 5a4ad739b772593bb31bd5fd6af07d3a4e047406 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 17 May 2009 17:36:04 +0000 Subject: [PATCH] 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 --- docs/topics/testing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]