From b8211a518aa49800e9df3da62906987c88cec0fe Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 5 Feb 2021 12:04:49 +0000 Subject: [PATCH] . --- longs/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/longs/forms.py b/longs/forms.py index 2bc89dce..448c5565 100755 --- a/longs/forms.py +++ b/longs/forms.py @@ -74,7 +74,7 @@ class LongSeriesForm(ModelForm): def __init__(self, *args, **kwargs): super(LongSeriesForm, self).__init__(*args, **kwargs) - self.fields["examination"] = ModelChoiceField( + self.fields["examination"] = ChoiceField( queryset=Examination.objects.all(), widget=FilteredSelectMultiple(verbose_name="Examination", is_stacked=False), )