In Django how can we limit a model field to be values 1-10 and increment by whole numbers?

前端 未结 0 455
天命终不由人
天命终不由人 2021-01-20 04:15

We are trying to create a slider for observed opacity of a sediment filter for a house. 1-10 are the possible values. How could we best accomplish/define this in a Django mo

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