Skip to content

Commit

Permalink
Correct mime type for xlsx
Browse files Browse the repository at this point in the history
fixes: jieter#810
  • Loading branch information
jieter authored and Alirezaja1384 committed Dec 27, 2022
1 parent f731e12 commit d867d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_tables2/export/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TableExport:
ODS: "application/vnd.oasis.opendocument.spreadsheet",
TSV: "text/tsv; charset=utf-8",
XLS: "application/vnd.ms-excel",
XLSX: "application/vnd.ms-excel",
XLSX: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
YAML: "text/yaml; charset=utf-8",
}

Expand Down

0 comments on commit d867d50

Please sign in to comment.