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 682,Fully decoupled URLconf's for apps.,sa@…,Adrian Holovaty,"In part 3 of the tutorial you introduce a way to decouple the URLconfs. But unless I'm missing something there's still one thing left that is tied to the project, namely the prefix passed to the patterns() function. {{{ urlpatterns = patterns('myproject.apps.polls.views.polls', (r'^$', 'index'), (r'^(?P\d+)/$', 'detail'), (r'^(?P\d+)/results/$', 'results'), (r'^(?P\d+)/vote/$', 'vote'), ) }}} The attached patch eliminates the need to pass in the prefix and let's the patterns() function figure that out by itself. Pass '''None''' instead of the prefix to trigger the ""figure-out-the-prefix-by-yourself"" functionality. {{{ urlpatterns = patterns(None, ... ) }}} Hope that's usefull for someone. cheers ",enhancement,closed,Core (Other),,normal,wontfix,,,Unreviewed,0,0,0,0,0,0