﻿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
19451	Scripting error on Django tutorial	Ganiserb	nobody	"I think there is a mistake in the step 3 of the tutorial.

I the part that reads:
----
Use the template system

Back to the detail() view for our poll application. Given the context variable poll, here's what the polls/detail.html template might look like:


{{{
<h1>{{ poll.question }}</h1>
<ul>
{% for choice in poll.choice_set.all %}
    <li>{{ choice.choice_text }}</li>
{% endfor %}
</ul>
}}}
----

I think the part that reads ""<li>{{ choice.choice_text }}</li>"" should be ""<li>{{ choice.choice }}</li>""; since the ''change'' is not mentioned before and the attribute ""choice"" itself contains the ""choice text"".

Thanks."	Cleanup/optimization	closed	Documentation	1.4	Normal	invalid	tutorial		Unreviewed	0	0	0	0	0	0
