benkonrath / django-csv-export-view

Django class-based view for CSV exports
BSD 3-Clause "New" or "Revised" License
19 stars 3 forks source link

Header column formatting #14

Closed aprsa closed 2 years ago

aprsa commented 2 years ago

This PR introduces a new attribute, verbose_names. If True (default), it uses capitalized verbose column names (the original behavior). If False, it uses field names instead.

benkonrath commented 2 years ago

Thanks for the PR. Could you add a test for this? Then I can merge it. Thanks.

aprsa commented 2 years ago

I added a very simple test; see if you think it's comprehensive enough and let me know if you have any other suggestions.

benkonrath commented 2 years ago

I think that's good. Thanks!