﻿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
35345	Bug in Tutorial 3 of Documentation	nima karimian	nima karimian	"### Bug in Tutorial part 3 of the Documentation
referencing from Tutorial part 1: 
since we have created a new polls app in out mysite project we configured the mysite.url like this  
{{{
urlpatterns = [
    path(""polls/"", include(""polls.urls"")),
    path(""admin/"", admin.site.urls),
]
}}}
so when we render the page polls/index.html or namely, the index view in our poll app the base url would be localhost/polls/
and with having this in our template : `<li><a href=""/polls/{{question.id}}/"">`
the GENERATED link would be : localhost/polls/polls/question_id **which raises an error** since we didn't describe such pattern in our urls.py file in polls app 
{{{
urlpatterns = [
    path("""",view=views.index,name=""index""),
    path(""<int:question_id>/"",view=views.detail,name=""detail""),
    path(""<int:question_id>/results/"",view=views.results,name=""results""),
    path(""<int:question_id>/vote/"",view=views.vote,name=""vote""),
]
}}}
"	Bug	closed	Documentation	5.0	Normal	invalid	Template,URL conf,Views	nima karimian	Unreviewed	1	0	0	0	0	0
