Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add test for #25980: ModelMultipleChoiceField does not properly clean QuerySets #5873
Can you give a higher level example? I tested with a form like this and didn't encounter any problems:
class Form(forms.ModelForm): choices = forms.ModelMultipleChoiceField(queryset=Choice.objects.all(), disabled=True, required=False) class Meta: model = Question fields = '__all__'
I tested with a