?
to_internal_value In DRF, serializer validation is run in a specific, undocumented order Field deserialization called (serializer.to_internal_value and field.run_validators) serializer.validate_[field] is called for each field. Serializer-level validators are called (serializer.run_validation followed by serializer.run_validators) Finally, serializer.validate is called to complete validation.
Обсуждают сегодня