Why is custom serializer save() method not called from view?

后端 未结 0 1614
温柔的废话
温柔的废话 2021-01-11 17:52

I have a view like this:

class MyViewSet(ModelViewSet):
    # Other functions in ModelViewset

    @action(methods=[\'post\'], url_path=\'publish\', url_name=         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题