#9640: BooleanField with choices, defaults, and blank=False still given blank option in their formfields -------------------------------+-------------------------------------------- Reporter: Nate | Owner: fperetti Status: reopened | Milestone: 1.1 Component: Forms | Version: 1.0 Resolution: | Keywords: BooleanField, FormField, choice set, pycamp2009 Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | -------------------------------+-------------------------------------------- Changes (by sebastian_noack):
* cc: sebastian_noack (added) * needs_better_patch: 0 => 1 Comment: The blank flag in the BooleanField works in an other way as with most other Fields, since it is passed as required flag to the formfield and the default formfield for BooleanField renders a checkbox, which must be checked when required. I think my patch as submitted by the ticket #10549 would be a better solution. -- Ticket URL: <http://code.djangoproject.com/ticket/9640#comment:14> 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-updates@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 -~----------~----~----~----~------~----~------~--~---