Skip to content

Document Field.fail() and promote it to public API. #2147

@lovelydinosaur

Description

@lovelydinosaur

It's a useful pattern for raising serializers.ValidationError with a message take from the error_messages dictionary. We should promote it to public API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions