I believe that a solution that can solve your problem is something like this:
TRUE_FALSE_CHOICES = (
(True, 'Yes'),
(False, 'No')
)
boolfield = forms.ChoiceField(choices = TRUE_FALSE_CHOICES, label="Some Label",
initial='', widget=forms.Select(), required=True)
You may not be accurate, but that should make you point in the right direction.
source
share