You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If wsgi.multiprocess isn't set, render panels on each request.
* Avoid an exception with Django-channels
If you apply Django middlewares on a HttpRequest without "wsgi.multiprocess" in META, an exception is raised by DJT.
This simple patch avoids this bug.
* If wsgi.multiprocess isn't set, render panels on each request.
The likely cause of this is that the application is using ASGI since
wsgi.multiprocess is a required key for a WSGI application. Since the
toolbar currently doesn't support async applications, it's pretty likely
that it won't work for this request.
If you're a developer reading this and you think this is wrong, you can set
the RENDER_PANELS setting to forcibly control this setting.
---------
Co-authored-by: tschilling <[email protected]>
0 commit comments