阅读背景:

在Django REST框架中向序列化器添加不在模型中的字段

来源:互联网 

I have a model Comment that when created may or may not create a new user. For this reason, my API requires a password field when creating a new comment. Here is my Comment model:I have a model Comment that when created may or




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: