Django Subtract a field from another field in another table and save the result

后端 未结 0 1084
孤独总比滥情好
孤独总比滥情好 2021-01-29 22:12
class prodect(models.Model):
      name = models.CharField(max_length=50)
      cwan = models.DecimalField(max_digits=5, decimal_places=2)
class orders(models.Model):
           


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