阅读背景:

如何在django-rest-framework中覆盖默认的create方法

来源:互联网 

I have a model which uses a different create method in the manager. How do I override this method so that the post method in ListCreateAPIView uses the method I've written instead of the default method. Here's the method.I have a model which uses a different create me




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

分享到: