Skip to content

Commit b40dd8a

Browse files
authored
Fixes 2151 -- Forwarded args and kwargs in URLMixin.url (#2163)
1 parent cda2553 commit b40dd8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debug_toolbar/panels/staticfiles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717

1818
class URLMixin:
19-
def url(self, path):
20-
url = super().url(path)
19+
def url(self, path, *args, **kwargs):
20+
url = super().url(path, *args, **kwargs)
2121
with contextlib.suppress(LookupError):
2222
# For LookupError:
2323
# The ContextVar wasn't set yet. Since the toolbar wasn't properly

0 commit comments

Comments
 (0)