#14302: models.BooleanField returns integer ------------------------------------------+--------------------------------- Reporter: anonymous | Owner: nobody Status: new | Milestone: Component: Database layer (models, ORM) | Version: 1.2 Keywords: boolean,type | Stage: Unreviewed Has_patch: 0 | ------------------------------------------+--------------------------------- I declare a field as models.BooleanField(default=False) in a model, but accessing it returns an integer 0 instead of boolean False. This is a rather insiduous bug, since inside of Python they'll evaluate to the same thing, but I happen to be sending that data to a client written in Java.
-- Ticket URL: <http://code.djangoproject.com/ticket/14302> 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 django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.