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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 8de10c417..95817fc40 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -362,6 +362,8 @@ class TreatmentFileType(GeneralType):
verbose_name = _(u"Treatment file type")
verbose_name_plural = _(u"Treatment file types")
ordering = ('label',)
+post_save.connect(post_save_cache, sender=TreatmentFileType)
+post_delete.connect(post_save_cache, sender=TreatmentFileType)
class TreatmentFile(ClosedItem, BaseHistorizedItem, OwnPerms, ValueGetter):