阅读背景:

使用django-rest-framework创建对象后返回id值

来源:互联网 

I am using django-rest-framework generic views to create objects in a model via POST request. I would like to know how can I return the id of the object created after the POST or more general, any additional information about the created object. I am using django-rest-framework generic views




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

分享到: