UUIDField doesn't allow_blank · Issue #3130 · encode/django-rest-framework (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Description
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