sorry, i'll repost under the appropriate subject. On 25 May 2011 17:11, Ndungi Kyalo <[email protected]> wrote: > Am trying to pre-select a radio button created with the django.forms library > : > vote = forms.ChoiceField( > widget = forms.RadioSelect(), > choices = [ > ['a', 'i liked it'], > ['b', 'i did not like it'] > ], > required=True > ) > How would I go about getting the 'a' choice pre-selected on an unbound form > ? > -- > Ndungi Kyalo
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

