FAQ

Does django-hosts work with the Django Debug Toolbar?

Yes, django-hosts works with Django Debug toolbar with the only limitation that the toolbar’s middleware has to be come after the middleware of django-hosts, e.g.:

MIDDLEWARE_CLASSES = (
    # your other middlewares..

    'django_hosts.middleware.HostsMiddleware',
    'debug_toolbar.middleware.DebugToolbarMiddleware',
)

Also, you have to install django-debug-toolbar 0.9.X or higher.