summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 16:34:37 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-14 16:34:37 +0200
commite0ed1f16e23b95752cefd53011264801b7e96112 (patch)
tree564d93990e171076ea4c37ad6a1d7e5bbe3a2fb9 /ishtar_common/models.py
parent7ef15eb8bba17b765c7c389fa99b92e8523b938b (diff)
downloadIshtar-e0ed1f16e23b95752cefd53011264801b7e96112.tar.bz2
Ishtar-e0ed1f16e23b95752cefd53011264801b7e96112.zip
Document: delete action on sheet
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index fba1212c7..c82837483 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -4929,6 +4929,7 @@ post_delete.connect(post_save_cache, sender=LicenseType)
class Document(BaseHistorizedItem, OwnPerms, ImageModel, ValueGetter, MainItem):
EXTERNAL_ID_KEY = 'document_external_id'
+ DELETE_URL = 'delete-document'
# order is important: put the image in the first match found
# other will be symbolic links
RELATED_MODELS = [