Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #10971 -- Corrected code example involving redirect_chain in th…

…e testing doc. Thanks yourcelf.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5a4ad739b772593bb31bd5fd6af07d3a4e047406 1 parent c8e071b
Karen Tracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/testing.txt
2  docs/topics/testing.txt
View
@@ -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)]
Please sign in to comment.
Something went wrong with that request. Please try again.