#add message

This commit is contained in:
xieshen 2021-04-02 16:56:56 +08:00
parent c1b8d13815
commit 3d2994dc99
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ def backstage_data_download(request):
file = open(f+'/'+user.username+'.csv','rb')
response = FileResponse(file)
response['Content-Type'] = 'application/octet-stream'
response['Content-Disposition'] = 'attachment'
response['Content-Disposition'] = 'attachment;filename="data.csv"'
return response