Add URLS from a Django App

django, django-urls

Solution

Use the include function, like this:

urlpatterns = patterns('',
                       url(r'^some_base_url/', include('your_app.urls')),
                       )

Including other urlconfs is described in the docs.

Problem

I'd like to add URLs from a Django app I'm adding within settings.py I've tried adding urls.py in the hopes it would work but it doesn't (because it only reads the project/project/urls.py and not project/app/urls.py) How can I make the app add urls?

Original source