3👍
✅
It’s an incompatibility with the debug_panel. Just had the same problem.
Edit the MIDDLEWARE_CLASSES
settings, and replace the debug_panel.middleware.DebugPanelMiddleware
with debug_toolbar.middleware.DebugToolbarMiddleware
.
Source:stackexchange.com