From ba35135d10bc840f7c07fee8ca35e02165533b21 Mon Sep 17 00:00:00 2001 From: Aman Pandey Date: Tue, 27 Aug 2024 20:14:37 +0530 Subject: [PATCH] Update debug_toolbar/toolbar.py Co-authored-by: Tim Schilling --- debug_toolbar/toolbar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debug_toolbar/toolbar.py b/debug_toolbar/toolbar.py index 27390d354..30ad06a24 100644 --- a/debug_toolbar/toolbar.py +++ b/debug_toolbar/toolbar.py @@ -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