-
-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
hello, I'm giving a try to the library but I can't find any hint on how to change
- the response filename (in chrome the file is named
download
with no extension) - the sheet name (it's
pyexcel_sheet1
)
how can I customize these two aspects?
thanks in advance!
here is my view's code:
def exportExcel(request):
qs = MyModel.objects.all()
column_names = ['a', 'b']
sheet = excel.pe.get_sheet(query_sets=qs, column_names=column_names)
sheet.row[0] = ["a", "b"]
return excel.make_response(sheet, 'xls')
Metadata
Metadata
Assignees
Labels
No labels