Commit 74c4a77a authored by cermak's avatar cermak
Browse files

download proposal filename

parent 8ae3b093
......@@ -48,6 +48,7 @@ class FullPdfResponseMixin(PdfResponseMixin, ):
resp = HttpResponse(content_type='application/pdf')
resp['Content-Disposition'] = f'attachment; filename="{context["proposal"].pid}.pdf"'
return resp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment