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
This commit is contained in:
Karen Tracey 2009-05-17 17:36:04 +00:00
parent c8e071b00d
commit 5a4ad739b7
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ arguments at time of construction:
If you had an url ``/redirect_me/`` that redirected to ``/next/``, that If you had an url ``/redirect_me/`` that redirected to ``/next/``, that
redirected to ``/final/``, this is what you'd see:: redirected to ``/final/``, this is what you'd see::
>>> response = c.get('/redirect_me/') >>> response = c.get('/redirect_me/', follow=True)
>>> response.redirect_chain >>> response.redirect_chain
[(u'http://testserver/next/', 302), (u'http://testserver/final/', 302)] [(u'http://testserver/next/', 302), (u'http://testserver/final/', 302)]