- Fixed a bug in
SerializerForm
in which form cleaned data was replaced with serializer data instead of updating it.
- Fixed a bug in
EnforceValidationFieldMixin
that it was overwritingto_internal_value
instead ofrun_validation
- Test coverage is now at 100%!
- Fixed bugs in
AllowBlankNullFieldMixin
- All DRF fields not subclass both
AllowBlankNullFieldMixin
andEmptyStringFieldMixin
- Added custom
to_representation()
toEmptyStringFieldMixin
which allows to pass empty string orNone
values. This is especially useful for fields likeIntegerField
which would blow up when passing empty string value for non-required fields.
- Fixed a bug in
FormSerializer
which did not honorfield_mapping
in any of the subclasses
- First release on PyPI.