﻿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
10801	tutorial part 4 vote view needs to redirect in the error case	bruce@…	Jacob	"In part 4 of the tutorial the vote view has the following code for the case that no choice was picked:
{{{
 return render_to_response('polls/detail.html', {
            'poll': p,
            'error_message': ""You didn't select a choice."",
        })
}}}
However, the resulting URL is of the form ""http://127.0.0.1:8000/polls/1/vote/"" rather than what is should be ""http://127.0.0.1:8000/polls/1/"".  So a redirect is needed.  I don't know the best way to do that.

"		closed	Documentation	1.0		fixed			Accepted	0	0	0	0	0	0
