Re: ModelForms and ProcessFormViews w models containing BooleanFields

2011-12-20 Thread Karen Tracey
Specify blank=True on the model field. When a ModelForm is created, the default value for a model form field's "required" attribute is based on the corresponding model field's "blank" attribute. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Googl

ModelForms and ProcessFormViews w models containing BooleanFields

2011-12-20 Thread Jeff Heard
I feel like this should be obvious but I can't figure it out. When creating a ProcessFormView or a ModelForm on a model with a BooleanField somewhere in, I get the classic problem of "This field is required" in the actual rendered page. Is there some way to turn off this behaviour and make the fi