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 4996655 commit 3c7b8e1Copy full SHA for 3c7b8e1
drf_excel/mixins.py
@@ -27,6 +27,6 @@ def finalize_response(self, request, response, *args, **kwargs):
27
and response.accepted_renderer.format == "xlsx"
28
):
29
response["content-disposition"] = (
30
- f"attachment; filename={escape_uri_path(self.get_filename(request=request, *args, **kwargs))}"
+ f"attachment; filename={escape_uri_path(self.get_filename(request=request, *args, **kwargs))}" # noqa: B026
31
)
32
return response
0 commit comments