diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-12-05 10:54:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-12-05 10:54:18 +0100 |
commit | 17f75822af7a330489164463ac916572c486654b (patch) | |
tree | d88c4a44133b641f4fd38f52da48d45fc786a326 | |
parent | d16e0f07e377f731df342a6555a17a21aaf05176 (diff) | |
download | Ishtar-17f75822af7a330489164463ac916572c486654b.tar.bz2 Ishtar-17f75822af7a330489164463ac916572c486654b.zip |
✨ QA create warehouse: fix save
-rw-r--r-- | archaeological_warehouse/forms.py | 2 |
1 files changed, 0 insertions, 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() |