Grouped CheckboxSelectMultiple in Django template
You have to write the custom CheckboxSelectMultiple widget. Using the snippet I have tried make the CheckboxSelectMultiple field iterable by adding the category_name as an attribute in field attrs. So that I can use regroup tag in template later on. The below code is modified from snippet according to your need, obviously this code can … Read more