diff options
-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() |