[Answered ]-What is the best way to create select form for multiple object dynamically in Django

2👍

you can use the Model Multiple Choice Field with the Checkbox Select Multiple Widget.

foos = forms.ModelMultipleChoiceField(queryset=Foo.objects, widget=forms.CheckboxSelectMultiple())

Leave a comment