SIGN IN SIGN UP

Provide default fallback for objects that aren't serializable (#21)

* Use DRF JSONEncoder to provide a fallback default for objects that aren't serializable.

* Use JSONRenderer `encoding_class` property instead to allow for further customization.

* New `default` parameter last.

Co-authored-by: Patrick Damery <patrick@dexterenergy.nl>
P
Patrick Damery committed
4bf612e39ebb6ea6c9d20463cab8b527e75a0983
Parent: 3e06b72
Committed by GitHub <noreply@github.com> on 11/22/2022, 11:05:35 AM