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
commit26a7508ea2ae47ccbaf0e0bfc0d2bd4f64482824 (patch)
tree564d93990e171076ea4c37ad6a1d7e5bbe3a2fb9 /ishtar_common/models.py
parent0af2e21cc9b1ae55f803701ab6689a172fef0bfd (diff)
downloadIshtar-26a7508ea2ae47ccbaf0e0bfc0d2bd4f64482824.tar.bz2
Ishtar-26a7508ea2ae47ccbaf0e0bfc0d2bd4f64482824.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 = [