﻿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
20173	tutorials: stylesheet in part 6 inconsistent with template in part 3	kontextify@…	nobody	"In the [https://docs.djangoproject.com/en/1.5/intro/tutorial03/#write-views-that-actually-do-something ""Write views that actually do something"" section], the following template is created:

{{{
{% if latest_poll_list %}
    <ul>
    {% for poll in latest_poll_list %}
        <li><a href=""/polls/{{ poll.id }}/"">{{ poll.question }}</a></li>
    {% endfor %}
    </ul>
{% else %}
    <p>No polls are available.</p>
{% endif %}
}}}

In the [https://docs.djangoproject.com/en/1.5/intro/tutorial06/#adding-a-background-image ""Adding a background image"" section], the stylesheet includes the following rule:

{{{
body {
    background: white url(""images/background.gif"") no-repeat right bottom;
}
}}}

The template needs a <body> tag for this to actually work. A beginner might be confused!"	Bug	closed	Documentation	1.5	Normal	worksforme			Unreviewed	0	0	0	0	0	0
