📅  最后修改于: 2022-03-11 14:59:21.687000             🧑  作者: Mango
代码示例1
class CustomObjectSerializer(serializers.Serializer):
name = serializers.CharField(required=True, trim_whitespace=True)