mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
@@ -107,6 +107,8 @@ class PersonAnswerSetForm(forms.ModelForm, DynamicAnswerSetBase):
|
|||||||
self.instance.person_id = self.initial['person_id']
|
self.instance.person_id = self.initial['person_id']
|
||||||
if commit:
|
if commit:
|
||||||
self.instance.save()
|
self.instance.save()
|
||||||
|
# Need to call same_m2m manually since we use commit=False above
|
||||||
|
self.save_m2m()
|
||||||
|
|
||||||
if commit:
|
if commit:
|
||||||
# Save answers to relationship questions
|
# Save answers to relationship questions
|
||||||
|
|||||||
@@ -214,7 +214,6 @@ class PersonAnswerSet(AnswerSet):
|
|||||||
'replaced_timestamp',
|
'replaced_timestamp',
|
||||||
'person_id',
|
'person_id',
|
||||||
'question_answers',
|
'question_answers',
|
||||||
'themes',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def field_value_repr(field):
|
def field_value_repr(field):
|
||||||
|
|||||||
Reference in New Issue
Block a user