Django nested serializer for multiple models, with chained foreignKeys

后端 未结 0 1818
梦谈多话
梦谈多话 2020-11-28 23:19

Let\'s use these 3 simple models for example. A city can have multiple shops, and a shop can have multiple products

models.py

class Ci         


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