0 value in Django PositiveIntegerField?

后端 未结 0 1971
情话喂你
情话喂你 2021-02-11 18:48

Can a field of type models.PositiveIntegerField contain a 0 value? I\'m doing something like:

points = models.PositiveIntegerField(default=0)

T

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