﻿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
16561	incorrect url in template	tim.proffitt@…	nobody	"in part 3 you have us noobs write the index template:
    
    {% if latest_poll_list %}
        <ul>
        {% for poll in latest_poll_list %}
            <li><a '''href=""/polls/'''{{ poll.id }}/"">{{ poll.question }}</a></li>
        {% endfor %}
        </ul>
...

then we go and decouple URLconfs which includes this line:
    urlpatterns = patterns('polls.views',
...

and then (and I didn't notice this until the end) when we go to mysite/polls/ and see the list of polls generated from the template and view the source the links look like so:
    <a href=""polls/1/""> ... </a>

the polls prefix is redundant with the changes we made to urlconfs.  when you click on one of the links you will be redirected to a 404 referencing the failure to find polls/polls/n.
this issue remains even later when we use the generic templates and completely rewrite urlconfs.


"	Bug	closed	Documentation	1.3	Normal	invalid			Unreviewed	0	0	0	0	1	0
