We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0136ff9 commit ac02a69Copy full SHA for ac02a69
debug_toolbar/middleware.py
@@ -126,9 +126,9 @@ def __init__(self, get_response: GetResponse):
126
markcoroutinefunction(self)
127
128
def __call__(self, request: HttpRequest) -> HttpResponse:
129
- # Decide whether the toolbar is active for this request.
130
if self.async_mode:
131
return self.__acall__(request)
+
132
# Decide whether the toolbar is active for this request.
133
show_toolbar = get_show_toolbar(async_mode=self.async_mode)
134
0 commit comments