ImproperlyConfigured: The included urlconf .urls doesn’t have any patterns in it

So, I actually ran into a similar problem. Coincidentally after you posted in the issues for django-stronghold. The issue is in fact due to a missing setting in django-debug-toolbar.

The setting you are missing is:

DEBUG_TOOLBAR_PATCH_SETTINGS = False 

It will work with runserver, but if you try to run it with honcho, or gunicorn, or anything else that uses the WSGI interface it blows up.

EDIT: as mentioned below by @japhyr, its useful to check out the explicit setup instructions: http://django-debug-toolbar.readthedocs.org/en/1.0/installation.html#explicit-setup

Leave a Comment