summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/models_treatments.py')
-rw-r--r--archaeological_finds/models_treatments.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 5ba50728b..45dc26c16 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -49,7 +49,6 @@ from ishtar_common.models import (
document_attached_changed,
MainItem,
HistoryModel,
- SearchAltName,
SearchVectorConfig,
DocumentItem,
)
@@ -57,8 +56,9 @@ from ishtar_common.models_common import CompleteIdentifierItem, HistoricalRecord
from ishtar_common.utils import (
cached_label_changed,
get_current_year,
- update_data,
m2m_historization_changed,
+ SearchAltName,
+ update_data,
)
@@ -91,6 +91,7 @@ class TreatmentState(GeneralType):
'available': True})
return treat_state
+
post_save.connect(post_save_cache, sender=TreatmentState)
post_delete.connect(post_save_cache, sender=TreatmentState)