Django find all model objects with more than x related foreign objects

后端 未结 0 607
清酒与你
清酒与你 2021-02-05 06:19

So say I have two Django model objects with a one-to-many relationship like:

class A(models.Model):
    id = models.AutoField(primary_key=True)
    attribute = mo         


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