django-commons / drf-excel

An XLSX spreadsheet renderer for Django REST Framework.
BSD 3-Clause "New" or "Revised" License
217 stars 40 forks source link

feat: split table_title and header_title #43

Closed runningzyp closed 2 years ago

runningzyp commented 2 years ago

I think it is different between header "Repoter Header" and table_sheet "Report sheet"

    def get_header(self):
        return {"use_header": False, "tab_title": "test"}

generally, sheet is necessary but header is not

this commit is a backwards compatible manner

thanks,

image

willtho89 commented 2 years ago

@runningzyp thanks for your contribution. I created a new release 0.4.4