burke-software / django-report-utils

Common functions used for reporting needs. Used by django-report-builder and django-report-scaffold.
Other
10 stars 27 forks source link

Adding CSV ability #16

Closed AbhiAgarwal closed 9 years ago

AbhiAgarwal commented 9 years ago

I tried to work on the ability to add CSV output for django-report-builder. I tried to make the changes to the codebase minimal. I also wanted to reduce duplication, and so I attempted at using the existing codebase and the functions made for the excel export in the CSV export.

A lot of the data export we need to do for my project relies on CSV. I was wondering if you could take a look at it. I'm happy to change things around. I tried to add functions that were just to build the CSV file, but found more success and less duplication by just using them.

I think the a limitation for CSV here is that it wouldn't have multiple sheets. However, I also couldn't figure out how there would be multiple sheets in the Excel sheet generation either.