Open AhabalTambal opened 2 years ago
hey, i have these models and i use django viewsets
class SomeModel(document): value = StringField(primary_key=true) label = StringField(required=True)
class SomeModelSerialization(DocumentSerializer): class Meta: model = SomeModel
if i make a post to /somemodel without any body, it only asks me for label and not for value. why is that?
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
hey, i have these models and i use django viewsets
class SomeModel(document): value = StringField(primary_key=true) label = StringField(required=True)
class SomeModelSerialization(DocumentSerializer): class Meta: model = SomeModel
if i make a post to /somemodel without any body, it only asks me for label and not for value. why is that?