Skip to content

UUIDField doesn't allow_blank #3130

Closed
Closed
@bretth

Description

@bretth

I want to create a uuid using uuid = serializers.UUIDField(default=uuid4) if one isn't provided but the data entered via the form is an empty string which is not treated as an empty value thus returns a error response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions