diff --git a/debug_toolbar/panels/staticfiles.py b/debug_toolbar/panels/staticfiles.py index 4a0397a02..6ec3d84b3 100644 --- a/debug_toolbar/panels/staticfiles.py +++ b/debug_toolbar/panels/staticfiles.py @@ -16,8 +16,8 @@ class URLMixin: - def url(self, path): - url = super().url(path) + def url(self, path, *args, **kwargs): + url = super().url(path, *args, **kwargs) with contextlib.suppress(LookupError): # For LookupError: # The ContextVar wasn't set yet. Since the toolbar wasn't properly