#10719: zero and PositiveIntegerField/PositiveSmallIntegerField ---------------------------+------------------------------------------------ Reporter: while0pass | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ [http://docs.djangoproject.com/en/dev/ref/models/fields/#positiveintegerfield]
It would be good to state explicitly in documentation that PositiveIntegerField and PositiveSmallIntegerField are integers that are more or equal to zero. The confusion is that zero is not a positive integer. So, it would be good to either extend the relevant documentation subsections with a note on zero, or rename the field subclasses. Unfortunately, "NonNegativeIntegerField" looks rather unwieldy. -- Ticket URL: <http://code.djangoproject.com/ticket/10719> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
