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 14259,URL dispatcher does not reject duplicate URL names,Tobias McNulty,nobody,"It's possible to construct a urls.py with duplicate URL names, and Django just returns the last URL registered with that name when doing reverse(). Django should probably raise an exception so you know that there's an issue with your urls.py and/or an incompatibility between apps. e.g., when you add this to your urls.py file: {{{ urlpatterns = patterns('views', url(r'^1/$', 'view', name='myname'), url(r'^2/$', 'view', name='myname'), ) }}} reverse() returns /2/ and not /1/.",,closed,Core (Other),1.2,,wontfix,,,Accepted,0,0,0,0,0,0