We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb61e33 commit c9ca309Copy full SHA for c9ca309
drf_excel/mixins.py
@@ -26,7 +26,7 @@ def finalize_response(self, request, response, *args, **kwargs):
26
isinstance(response, Response)
27
and response.accepted_renderer.format == "xlsx"
28
):
29
- filename = self.get_filename(request=request, *args, **kwargs) # noqa: B026
+ filename = self.get_filename(request, *args, **kwargs)
30
response["content-disposition"] = (
31
f"attachment; filename={escape_uri_path(filename)}"
32
)
0 commit comments