Update settings.py with QueryCountDebugMiddleware