[Answered ]-Only displaying one radio button widget from a Django RadioSelect

1👍

This page has information on how to iterate over each radio button:
https://docs.djangoproject.com/en/dev/ref/forms/widgets/

See “class RadioSelect”.

1👍

Try form.fieldname.widget.renderer[%CHOICE%]. For example if you have choices = (('o', 'one'),('t', 'two')), then valid %CHOICE% would be 'o' or 't'.

Leave a comment