django-rest-framework-csv
django-rest-framework-csv copied to clipboard
CSV Tools for Django REST Framework
In Python3, the input data is a byte array, which is not a valid input for the csv.reader class. Add a wrapper generator to the preprocess_stream() function to decode the...
Based on xlrd, xlwt: http://www.python-excel.org/
Hey there, I am trying to implement a streaming CSV renderer within a list API view and am having trouble with the code provided in `renderers.py`. Is it possible to...
CSVStreamingRenderer is great, it works as a generator along with tabelize which also works as a generator. However, you cannot pass a Generator object in as your data to be...
Hi, In order to render as XLS file, the following code could be used: renderers.py ``` import xlwt from datetime import datetime, date class XLSRenderer(CSVRenderer): media_type = 'application/ms-excel' format =...
We are with the last version using the `PaginatedCSVRenderer`, specified in the settings. CSVs are not correctly downloaded if we either put 'format=csv' in the query string or use the...
Thanks for this great add-on! For some reason when I download my data in CSV format, it is returned in 2 giant rows, with all items combined on the rows....
When i have a serializer with a defined field list like this: ``` class Meta: model = ExternalLink fields = ('date', 'linked_by', 'domain', 'trust_flow', 'citation_flow', 'backlink_number') ``` I expected the...
Attempting to install with easy-install and get bad marshal data. Installing on non-internet connected system using easy-install on local profile. See attached. pkg_dir> python setup.py install --user ..... File "build/bdist.linux-x86_64/egg/setuptools/command/bdist_egg.py",...
There seems to be some mime-type/content-type issues with this renderer. On my Mac, I have no issues, however Windows users experience problems with both Chrome and IE11. On Chrome, the...