Problem with save method overriding attribute value

前端 未结 0 1817
生来不讨喜
生来不讨喜 2020-12-17 00:32

I have a model called \'Trip\' with a Foreign Key to \'Destination\'. The Destination model specifies a maximum number of passengers in it\'s \'max_passengers\' attribute.

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