How can I prefetch nested data in Django?

后端 未结 0 1585
谎友^
谎友^ 2020-11-21 05:17

I have the following models:

class Contract:
    products = models.ManyToManyField(
        to="Product",
            


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