.
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ class LongSeriesForm(ModelForm):
|
|||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(LongSeriesForm, self).__init__(*args, **kwargs)
|
super(LongSeriesForm, self).__init__(*args, **kwargs)
|
||||||
self.fields["examination"] = ModelChoiceField(
|
self.fields["examination"] = ChoiceField(
|
||||||
queryset=Examination.objects.all(),
|
queryset=Examination.objects.all(),
|
||||||
widget=FilteredSelectMultiple(verbose_name="Examination", is_stacked=False),
|
widget=FilteredSelectMultiple(verbose_name="Examination", is_stacked=False),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user