This commit is contained in:
Ross
2021-11-28 17:08:27 +00:00
parent a0f1c217fc
commit 9635b60d1f
+1 -1
View File
@@ -45,7 +45,7 @@ class SeriesFindingsForm(ModelForm):
initial = kwargs.setdefault("initial", {})
# The widget for a ModelMultipleChoiceField expects
# a list of primary key for the selected data.
initial["series"] = kwargs["series_id"]
initial["series"] = kwargs.pop("series_id")
super(SeriesFindingsForm, self).__init__(*args, **kwargs)