Releases: django-commons/drf-excel
Releases · django-commons/drf-excel
0.3.7
0.3.7
- Better logic for flattening lists within cells. Bug fix for ViewSets with other actions, only applying to
Response
instances.
0.3.6
- Check to ensure lists have length before flattening.
0.3.5
- Add the
get_filename
method to allow programmatically naming the downloaded spreadsheet file.
0.3.4
- Switch to
setuptools_scm
. Add support forReturnDict
in addition toReturnList
.
0.3.3
- Add support for nested arrays, flattening them into a string:
value1, value2, value3
, etc.
0.3.2
- Add supported for nested values; flattens sub-values into
sub.value1, sub.value2, sub.value3
, etc.
0.3.1
- Fix an error when an empty result set was returned from the endpoint. Now, it will properly just download an empty spreadsheet.
- Remove an errant
format()
function which was removing typing from the spreadsheet.
0.3.0
- Add support for custom spreadsheet styles (thanks, Pavel Bryantsev!)
- Add an attribute for setting the download filename instead of
export.xlsx
per view.