Django: Multiple url patterns starting at the root spread across files
I am wondering if it is possible to have the standard url patterns spread across multiple files (in this case the project-wide urls.py and several apps-specific urls.py ). Imagine that the project urls.py look like this (got this working): from django.conf.urls import patterns, include, url admin.autodiscover() urlpatterns = patterns('', url(r'^user/signup/', 'registration.views.signup'), url(r'^user/confirm/(?P<code>\w{20})/', 'registration.views.confirm'), url(r'^user/profile/(\d+)/', 'profile.views.show'), url(r'^user/profile/edit/', 'profile.views.edit'), ) As you can see, I have two