diff --git a/openatlas/models/tools.py b/openatlas/models/tools.py index 3cef92ce6..f70e22103 100755 --- a/openatlas/models/tools.py +++ b/openatlas/models/tools.py @@ -244,6 +244,7 @@ def save( entity: Entity, data: dict[str, str], types: list[dict[str, Any]]) -> None: + from openatlas.models.entity import Link for dict_ in types: Link.delete_(dict_['link_id']) SexEstimation.prepare_feature_types() diff --git a/openatlas/templates/tabs.html b/openatlas/templates/tabs.html index 337f01e3f..4de4562e6 100644 --- a/openatlas/templates/tabs.html +++ b/openatlas/templates/tabs.html @@ -7,7 +7,7 @@