summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-18 18:34:43 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-12-18 18:34:43 +0100
commitf42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3 (patch)
tree617d32c1aaa8c85a4782aecfa64d075f598af0dc /archaeological_finds/models_treatments.py
parentf2274d391af31cd620465f4424e4510e075562cd (diff)
downloadIshtar-f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3.tar.bz2
Ishtar-f42ea0f49a4d5c5a6cb15758d2bc8edaacc49ec3.zip
Containers / Warehouse: actions, sheets and fixes.
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):