#add message
This commit is contained in:
parent
c1b8d13815
commit
3d2994dc99
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue