﻿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
7650	"Tutorial 3: In URL decoupling, ""mysite.polls.views"" should simply be ""polls.views"""	larrik	nobody	"Hello,

I've been going through the tutorial, and I noticed an issue with Tutorial 3's decoupling of the ""polls"" URLs from the rest of the site. (Note that this is the online version of the tutorial, ie. ""http://www.djangoproject.com/documentation/tutorial03/"")

For instance, in the beginning of Tutorial 4 is the line:
{{{HttpResponseRedirect(reverse('mysite.polls.views.results', args=(p.id,)))}}}

Which in my understanding should not have the ""mysite."" in it at all. Looking back at Tutorial 3, you left the ""mysite."" in the line:
{{{urlpatterns = patterns('mysite.polls.views',}}}

It seems to me (and I'm just getting into Django, so I can certainly be confused), that this line should simply be:
{{{urlpatterns = patterns('polls.views',}}}
to be truly decoupled from the ""mysite"" project.

If I'm mistaken, I'm certainly curious as to where my thinking has gone wrong.


P.S. Django looks great, by the way, and seems to finally be the thing to break me from writing my own everything. Thanks!"		closed	Documentation	dev		duplicate	tutorial decoupling		Unreviewed	0	0	0	0	0	0
