Django Signals to update a different model

后端 未结 0 1882
暖寄归人
暖寄归人 2021-01-25 13:02

Say I have two models:

class Product(models.Model):
    product = model.CharField()
    quantity = model.IntegerField()

class sale(models.Model)
    product = m         


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