Django DRF - How can i retrive an object if i have only the foreign keys but not the pk with RetriveAPIView

前端 未结 0 326
夕颜
夕颜 2021-01-22 03:24

I have 2 models (one is a custom user model) with a relation ManyToMany through a third model. I have the pks of the two first models in the client side and i need to retrive th

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