Django-tables2: Export table as CSV, Excel, etc

Created on 17 Feb 2017  Â·  6Comments  Â·  Source: jieter/django-tables2

Would be really good if it was possible to export tables in different non HTML formats.

I see https://github.com/goinnn/django-tables2-reports which looks like it has similar goals, unfortunately it looks like this project has been abandoned (no updates since October 2014).

bug

All 6 comments

Looks like as_values() returns the unicode dash (—) to indicate there is no value. Would be better if it returned something else instead, maybe None.

Fair point!

@brianmay, just pushed a fix for this to master, please have look if it fixes your issue.

I am not able to test it right now (having been reassigned to another project), however the change - and the corresponding test case - looks good. Thanks.

released 1.4.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

applegrew picture applegrew  Â·  17Comments

blite picture blite  Â·  3Comments

wtfrank picture wtfrank  Â·  32Comments

foldedpaper picture foldedpaper  Â·  6Comments

mpasternak picture mpasternak  Â·  9Comments