bradleyayers/django-tables2 — pull request #119 by crosbymichael (2012-11-25 15:11:49+00:00)
Title: Add 'as_csv' method that allows a table to be written as csv

Adds a new method to Table, 'as_csv', that allows the table
to be written to a file pointer like object ( HttpResponse )

**Notes:**
I am using the unicodecsv module that has unicode support. [unicodecsv](https://github.com/jdunck/python-unicodecsv) This does add a dependency to django-tables2 so if this is not desired then we can use the csv module in the stdlib instead and let the user deal with unicode.

Also please review returning the un-rendered column value when writing the csv for a row. Is there a better way to do this?