How to add a property to a model which will be calculated based on input?

后端 未结 0 1854
说谎
说谎 2020-12-28 13:49
class TransactionHistory(models.Model):
    from_account = models.ForeignKey(
        \'Account\',
        on_delete=models.CA         


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