On Sep 30, 6:08 am, davenaff <[EMAIL PROTECTED]> wrote:
> 2. If not, how have people solved this in the past (subclass the
> RadioSelect widget?)

Take a look at django.forms.widgets.RadioFieldRenderer

Subclass it, specifically the 'render' method. Then add the 'render'
param to your form's RadioSelect, i.e.

book_type = forms.ChoiceField(
        choices = BOOKCHOICES,
        widget=forms.RadioSelect(renderer=RadioFieldRendererSubclass)
        )


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to