From a0f1c217fc3a7c2894165486e95374ff9640c454 Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 28 Nov 2021 17:06:49 +0000 Subject: [PATCH] . --- atlas/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/forms.py b/atlas/forms.py index 83cc2c14..47db9701 100755 --- a/atlas/forms.py +++ b/atlas/forms.py @@ -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"].id + initial["series"] = kwargs["series_id"] super(SeriesFindingsForm, self).__init__(*args, **kwargs)