From 8322052959e24ef2486d4e47590aac3929feab88 Mon Sep 17 00:00:00 2001 From: Ross Date: Fri, 5 Feb 2021 11:35:00 +0000 Subject: [PATCH] . --- longs/forms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/longs/forms.py b/longs/forms.py index b90ca650..6690f768 100755 --- a/longs/forms.py +++ b/longs/forms.py @@ -51,6 +51,7 @@ class NoteForm(ModelForm): fields = ["note"] + class LongCreationDefaultForm(ModelForm): class Meta: model = LongCreationDefault @@ -59,11 +60,13 @@ class LongCreationDefaultForm(ModelForm): class LongSeriesForm(ModelForm): def __init__(self, *args, **kwargs): + super(LongSeriesForm, self).__init__(*args, **kwargs) self.fields["examination"] = ModelMultipleChoiceField( queryset=Examination.objects.all(), widget=FilteredSelectMultiple(verbose_name="Examination", is_stacked=False), ) + class Meta: model = LongSeries exclude = []