序列化Djang中的对象时出现断言错误在Django中,我想序列化(通过Rest)一个Lecteur对象,该对象如下所示: from django.db import models from django.contrib.auth.mod ...2024-05-21 已阅读: n次