I\'ve got a boolean field,
is_operable = BooleanField(widget=RadioSelect(choices=YES_OR_NO, renderer=InlineRadioFieldRenderer), required=False, initial=True)
Leave it as required=False
and write a custom clean_is_operable
method that checks that you've got what you want, else throws a ValidationError or the like
I would recommend using a TypedChoiceField
which coerces the choices YES_OR_NO
into a boolean. See the docs:
http://docs.djangoproject.com/en/1.2/ref/forms/fields/#django.forms.TypedChoiceField