summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_treatments.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-13 14:13:46 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-13 14:13:46 +0200
commit9c0ee6ee690f176dd6c944d263ec45678ebec49e (patch)
tree8abead0cd473127fcbd18fd9581470af8f48e654 /archaeological_finds/models_treatments.py
parent801e31fc093bc554ae62ff50a5540659634098b4 (diff)
downloadIshtar-9c0ee6ee690f176dd6c944d263ec45678ebec49e.tar.bz2
Ishtar-9c0ee6ee690f176dd6c944d263ec45678ebec49e.zip
Delete action: context records, files, finds, treatments, treatments files, admin acts
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 120dfe6f2..07eeef260 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -68,6 +68,7 @@ class Treatment(DashboardFormItem, ValueGetter, DocumentItem,
BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):
SLUG = 'treatment'
SHOW_URL = 'show-treatment'
+ DELETE_URL = 'delete-treatment'
TABLE_COLS = ('year', 'index', 'treatment_types__label',
'treatment_state__label',
'label', 'person__cached_label',
@@ -873,6 +874,7 @@ class TreatmentFile(DashboardFormItem, ClosedItem, DocumentItem,
BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem):
SLUG = 'treatmentfile'
SHOW_URL = 'show-treatmentfile'
+ DELETE_URL = 'delete-treatmentfile'
TABLE_COLS = ['type', 'year', 'index', 'internal_reference', 'name']
BASE_SEARCH_VECTORS = [
SearchVectorConfig("type__label"),