Strawberry debug toolbar must not be enabled in non-debug mode #17410
Labels
severity: low
Does not significantly disrupt application functionality, or a workaround is available
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v4.1.0
Python Version
3.12
Steps to Reproduce
Go to
settings.py
and notice thatstrawberry_django.middlewares.debug_toolbar.DebugToolbarMiddleware
is in themiddleware
always enabledExpected Behavior
strawberry_django.middlewares.debug_toolbar.DebugToolbarMiddleware
must only be enabled indebug
modeObserved Behavior
strawberry_django.middlewares.debug_toolbar.DebugToolbarMiddleware
is called during every request to netboxThe text was updated successfully, but these errors were encountered: