[Django]-Serializer.is_valid() failing though `required=False` – Django REST Framework

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.

link to docs

Leave a comment