﻿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
4454	Tuorial code error ?	gnou@…	Jacob	"Hello,[[BR]]

I was reading this intersting documentation about an interesting framework. I am not an expert in Python and I'm not really sure about my suggestion.[[BR]]
On the third page of the Django tutorial : [http://www.djangoproject.com/documentation/tutorial03/] in the section ""Write views that actually do something"", there's the following code :


{{{

{% if latest_poll_list %}
    <ul>
    {% for poll in latest_poll_list %}
        <li>{{ poll.question }}</li>
    {% endfor %}
    </ul>
{% else %}
    <p>No polls are available.</p>
{% endif %}

}}}

Shouldn't it be :

{{{

{% if latest_poll_list %}
    <ul>
    {% for poll in latest_poll_list %}
        <li>{% poll.question %}</li>   <------ Here
    {% endfor %}
    </ul>
{% else %}
    <p>No polls are available.</p>
{% endif %}

}}}

Again, I am not an expert but I just want to contribute to community. Please let me know if I was right about my suggestion.

Best regards.[[BR]]
ZENOU Nicolas."		closed	Documentation	dev		invalid			Unreviewed	0	0	0	0	0	0
