From 3324ae5f4d296122024ed8e806b94146e863798c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 19 Nov 2025 16:50:50 +0100 Subject: ✨ operation - quick context record form: open the newly created context record MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_context_records/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_context_records/forms.py') diff --git a/archaeological_context_records/forms.py b/archaeological_context_records/forms.py index 11d4cbbb1..18d0079e0 100644 --- a/archaeological_context_records/forms.py +++ b/archaeological_context_records/forms.py @@ -693,7 +693,7 @@ class QAOperationCR(IshtarForm): data["parcel_id"] = self.cleaned_data["parcel"] else: data["town_id"] = self.cleaned_data["town"] - models.ContextRecord.objects.create(**data) + return models.ContextRecord.objects.create(**data) class QAContextRecordDuplicateForm(IshtarForm): -- cgit v1.2.3