From 17f75822af7a330489164463ac916572c486654b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 Dec 2024 10:54:18 +0100 Subject: ✨ QA create warehouse: fix save MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_warehouse/forms.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index f2605ba12..edc4a3b74 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -289,8 +289,6 @@ class WarehouseForm(CustomForm, ManageOldType): dct["person_in_charge"] = Person.objects.get(pk=dct["person_in_charge"]) if "organization" in dct and dct["organization"]: dct["organization"] = Organization.objects.get(pk=dct["organization"]) - if not dct.get("spatial_reference_system", None): - dct.pop("spatial_reference_system") create_orga = dct.pop("create_organization") new_item = models.Warehouse(**dct) new_item.save() -- cgit v1.2.3