UUIDField doesn't allow_blank · Issue #3130 · encode/django-rest-framework (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@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

Labels

Development

No branches or pull requests

Issue actions