django-rest-framework-csv

CSV Tools for Django REST Framework

BSD-2-CLAUSE License

Downloads
336.1K
Stars
364
Committers
28
django-rest-framework-csv - 3.0.0 Latest Release

Published by mjumbewu about 1 year ago

  • Removed compatibility with Python 2
  • Added compatibility with Django up to 3.2 and 4.2 (thanks to work from @TTycho, @awais786, @arpitjain799, @tirkarthi)
django-rest-framework-csv - 2.1.1

Published by mjumbewu about 3 years ago

Changes since 1.3.3:

2.1.1

  • Add support for byte order markers (BOM) (thanks @Yaoxin)
  • Documentation updates (thanks @rjemanuele and @coreyshirk)

2.1.0

  • CSVs with no data still output header labels (thanks @travisbloom)
  • Include a paginated renderer as part of the app (thanks @masterfloda)
  • Generators can be used as data sources for CSVStreamingRenderer (thanks
    @jrzerr)
  • Support for non UTF-8 encoding parsing (thanks @weasellin)

2.0.0

  • Make CSVRenderer.render return bytes, and CSVParser.parse expect a byte
    stream.
  • Have data-less renders print header row, if header is explicitly supplied
  • Drop Django 1.7 tests and add Django 1.10 tests
  • have CSVRenderer.tableize act as a generator when possible (i.e., when a
    header is explicitly specified).
  • Add docs for labels thanks to @radyz
  • Fix header rendering in CSVStreamingRenderer thanks to @radialnash
  • Improve unicode handling, thanks to @brandonrobertz

1.4.0/1.4.1

  • Add support for changing field labels in the CSVRenderer, thanks to @soby
  • Add support for setting CSVRenderer headers, labels, and writer_opts as
    renderer_context parameters.
  • Renamed CSVRenderer.headers to CSVRenderer.header; old spelling is
    still available for backwards compatibility, but may be removed in the future.

1.3.4

  • Support streaming CSV rendering, via @ivancrneto
  • Improved test configuration and project metadata, via @ticosax
django-rest-framework-csv - 1.3.3

Published by mjumbewu over 10 years ago

Support unicode CSV parsing, and universal newlines, with thanks to @brocksamson

django-rest-framework-csv - 1.3.1

Published by mjumbewu almost 11 years ago

  • Renderer handles case where data is not a list by wrapping data in a list, via pull request from @dougvk
  • Better cross Python version support, via @paurullan and @vishen
django-rest-framework-csv -

Published by mjumbewu about 11 years ago

  • Support simple CSV parsing; thanks to @sebastibe
django-rest-framework-csv -

Published by mjumbewu about 11 years ago

  • Support for Python 3, derived from work by @samdobson
django-rest-framework-csv -

Published by mjumbewu about 11 years ago

  • Support consistent ordering of fields in rendered CSV; thanks to @robguttman
  • Support specifying particular fields/headers in custom CSV renderer by
    overriding the headers attribute.