﻿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
13507	Removing 'mysite' prefix from code snippets following the project/app decoupling in tutorials 03 and 04	arnaud	nobody	"As we want to decouple the polls app from the mysite project, we should remove the leading ""mysite."" from the imports and patterns function's prefix parameter

In http://docs.djangoproject.com/en/dev/intro/tutorial03/#decoupling-the-urlconfs, the line:

{{{urlpatterns = patterns('mysite.polls.views',}}}

should be changed to:

{{{urlpatterns = patterns('polls.views',}}}

Similarly, in http://docs.djangoproject.com/en/dev/intro/tutorial04/#use-generic-views-less-code-is-better, the line:

{{{urlpatterns = patterns('mysite.polls.views',}}}

should be changed to:

{{{urlpatterns = patterns('polls.views',}}}

the line:

{{{from mysite.polls.models import Poll}}}

should be changed to:

{{{from polls.models import Poll}}}

and the line:

{{{(r'^(?P<poll_id>\d+)/vote/$', 'mysite.polls.views.vote'),}}}

should be changed to
{{{(r'^(?P<poll_id>\d+)/vote/$', 'polls.views.vote'),}}}"		closed	Documentation	1.1		duplicate			Unreviewed	0	0	0	0	0	0
