[Answer]-Django 1.8 unable to match url patterns using multiple url conf files

1đź‘Ť

âś…

You’ve misunderstood a few things here.

The “integrations” subdirectory is not supposed to contain model or view code. It is where your settings and wsgi files go, and also the main urls.py. That is the file referred to in the documentation.

Your actual code should go into a new app, let’s say “wsa”, created with ./manage.py startapp wsa. That’s where you put the models, admin, and views files, and also the subsidiary urls.py. So your main urls would now contain include('wsa.urls').

Leave a comment