Skip to content

SerializerField on_null=HIDE_FIELD not rise IgnoreField() for to_python #6

@alexlehn

Description

@alexlehn

If I mark a SerializerField as on_null=HIDE_FIELD the field is still present in the python dict with a None value. It's better to ignore the field during the serialization or is there any reason to keep the field with a None value?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions