Hi,

I am new to Django. I am trying to working out on the different fields in 
this. From that only I found there are model fields and form fields existed 
in it. Now I am working on radio buttons. 
For this what I have done is,created a model with field 
"title = models.CharField(max_length=3, choices=TITLE_CHOICES)" 

and defined the choices as well. and in the forms.py did 
"title = forms.ChoiceField(choices=TITLE_CHOICES, 
widget=forms.RadioSelect())".

Finally it shows the title input as list only. Radiobuttons widget not 
working here.

Please do help

Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d4d2c537-95ff-4226-a829-e83a945b17e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to