Skip to content

Commit

Permalink
Update debug_toolbar/toolbar.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Schilling <[email protected]>
  • Loading branch information
salty-ivy and tim-schilling authored Aug 27, 2024
1 parent 911d2bd commit ba35135
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debug_toolbar/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def should_render_panels(self):
if isinstance(self.request, ASGIRequest):
render_panels = False
else:
# The wsgi.multiprocess case of being True isn't supported until the
# toolbar has resolved the following issue:
# This type of set up is most likely
# https://github.com/jazzband/django-debug-toolbar/issues/1430
render_panels = self.request.META.get("wsgi.multiprocess", True)
return render_panels

Expand Down

0 comments on commit ba35135

Please sign in to comment.