﻿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
5283	decoupling example can be extended further	stringfellow@…	nobody	"In Tutorial part 3:

""Now that we’ve decoupled that, we need to decouple the ‘mysite.polls.urls’ urlconf by removing the leading “polls/” from each line:

urlpatterns = patterns('mysite.polls.views',
    (r'^$', 'index'),
    (r'^(?P<poll_id>\d+)/$', 'detail'),
    (r'^(?P<poll_id>\d+)/results/$', 'results'),
    (r'^(?P<poll_id>\d+)/vote/$', 'vote'),
)""

I tested this with:
""urlpatterns = patterns('polls.views',""
and it still works, and assuming this whole directory (polls) can be moved to other websites, it makes sense to drop out 'mysite.' from the pattern; allowing for copy and paste pluggability instead of copy paste and edit a little bit pluggability.
 
"		closed	Documentation	0.96		invalid	decoupling		Unreviewed	0	0	0	0	0	0
