We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db8a667 + 1e70e2c commit 5496d42Copy full SHA for 5496d42
1 file changed
debug_toolbar/middleware.py
@@ -36,7 +36,7 @@ def __init__(self, app: ASGIApp, **settings: t.Any) -> None:
36
while not isinstance(self.router, APIRouter):
37
self.router = self.router.app
38
try:
39
- self.router.url_path_for(name="debug_toolbar.render_panel")
+ self.router.url_path_for("debug_toolbar.render_panel")
40
except NoMatchFound:
41
self.init_toolbar()
42
0 commit comments