Iterating over items of selection fields in django templates using newforms
A year ago I wrote a custom CheckboxSelectMultiple control for django. My application needed to display a series of checkboxes on the webpage, but the default django control did not allow iteration over each checkbox when the control was rendered in the template (as it was possible with the RadioSelect control). This finer control was necessary because I needed to insert extra HTML between each checkbox.
As of version 0.95, django has been under heavy changes, and my custom control no longer works. Read more...
checkboxes
django
newforms
python
templates