Can a field of type models.PositiveIntegerField contain a 0 value? I'm doing something like:
points = models.PositiveIntegerField(default=0)
Thanks,
I know I should try ir myself, but I haven't a Django environment here.
Can a field of type models.PositiveIntegerField contain a 0 value? I'm doing something like:
points = models.PositiveIntegerField(default=0)
Thanks,
I know I should try ir myself, but I haven't a Django environment here.
Yes, it can. It is debatable whether it should--there is a longstanding bug report: http://code.djangoproject.com/ticket/7609