diff --git a/submissions/forms.py b/submissions/forms.py index b480b5a7d080405430d6d9ae21d049530466cfca..5eaf07613502ff2782624ec530cc3dc11d9e7c55 100644 --- a/submissions/forms.py +++ b/submissions/forms.py @@ -680,6 +680,7 @@ class iThenticateReportForm(forms.ModelForm): data = self.response['data'][0] if self.instance: report = self.instance + report.doc_id = data['id'] else: report = iThenticateReport.objects.get_or_create(doc_id=data['id']) report.submission = self.submission