﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10971	Test client response.redirect_chain documentation example missing follow argument	Charlie DeTar	nobody	"The documentation for the django test Client includes an example for showing redirect chains which is broken.

The provided example:

{{{
>>> response = c.get('/redirect_me')
>>> response.redirect_chain
}}}

results in:

{{{
AttributeError: 'HttpResponseRedirect' object has no attribute 'redirect_chain'
}}}

This is because {{{follow}}} was not set to {{{True}}}.  The example should read:

{{{
>>> response = c.get('/redirect_me', follow=True)
>>> response.redirect_chain
[(u'http://testserver/next/', 302), (u'http://testserver/final/', 302)]
}}}

"		closed	Documentation	dev		fixed			Ready for checkin	1	0	0	0	0	0
