thanks bruno. and thanks for the advice on tuples too.
On 25 May 2011 17:30, "bruno desthuilliers"
wrote:
> On May 25, 4:12 pm, Ndungi Kyalo wrote:
>> Am trying to pre-select a radio button created with the django.forms
library :
>>
>> choices = forms.ChoiceField(
>> widget = forms.Ra
On May 25, 4:12 pm, Ndungi Kyalo wrote:
> Am trying to pre-select a radio button created with the django.forms library :
>
> choices = forms.ChoiceField(
> widget = forms.RadioSelect(),
> choices = [
> ['a', 'i liked it'],
> ['b', 'i did not like it']
>
Am trying to pre-select a radio button created with the django.forms library :
choices = forms.ChoiceField(
widget = forms.RadioSelect(),
choices = [
['a', 'i liked it'],
['b', 'i did not like it']
],
required=True
)
How would I go a
3 matches
Mail list logo