11👍
✅
From the docs:
Note: When validation is applied to a ModelSerializer, both the
serializer fields, and their corresponding model fields must correctly
validate. If you have optional fields on your model, make sure to
correctly set blank=True on the model field, as well as setting
required=False on the serializer field.
Source:stackexchange.com