Skip to content

DRP 1.0.0

Compare
Choose a tag to compare
@sheppard sheppard released this 13 Sep 17:49
· 48 commits to main since this release

Django REST Pandas 1.0.0 brings a number of API improvements that make it easier to integrate with existing DRF projects.

New Functionality

  • Support mixing with DRP renderers with regular DRF renderers, including in REST_FRAMEWORK["DEFAULT_RENDERER_CLASSES"] (#28)
  • Better detection of default index field name (#13, #29)
  • Include index field(s) in default JSON output (#29). The orient parameter now defaults to a DRP-specific "records-index", which is like "records" but calls reset_index() before rendering.

Bug Fixes

  • Don't crash if "id" is not a serializer field (#13)
  • Fix null value handling in PandasScatterSerializer (2636cc4)

Documentation Improvements

  • Supported URL parameters for JSON output (#26)
  • DateTimeField serialization tips (#27)
  • django-pandas integration (#11)
  • HTML output and integration with wq/chartapp.js (#2)