Django – Require at least one instance of ManyToOne model

前端 未结 0 1830
小蘑菇
小蘑菇 2021-01-26 08:31

Is it possible to require at least one ManyToOne instance to a model when it\'s (first) saved? The idea is, to have a product that can have a price history (hope using a separat

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