Django multiple ManyToManyField with same model

前端 未结 0 1158
被撕碎了的回忆
被撕碎了的回忆 2021-01-26 08:14

When I only have one ManyToManyField the model works but when I add a second the serializer doesn\'t save.

View:

@api_view([\'POST\'])
def update(request,          


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