Making Django query if my class consists of a function? How do make a query which will return the sum of available_count for a particular device

后端 未结 0 1141
春和景丽
春和景丽 2021-02-11 18:12
class Magazine(models.Model):
    device = models.ForeignKey(RUDevice, on_delete=models.CASCADE, null=False, blank=False, 
        related_name=\'ru_magazine\', help_tex         


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