Add the debug_toolbar directory to your Python path. Add the following middleware to your project's settings.py file: 'debug_toolbar.middleware.DebugToolbarMiddleware', Tying into middleware allows each panel to be instantiated on request and rendering to happen on response. The order of MIDDLEWARE_CLASSES is important: the Debug Toolbar middleware must come after any other middleware that encodes