2👍
✅
you can use the Model Multiple Choice Field with the Checkbox Select Multiple Widget.
foos = forms.ModelMultipleChoiceField(queryset=Foo.objects, widget=forms.CheckboxSelectMultiple())
Source:stackexchange.com