summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 6f51a840e..d8283e23f 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -4945,7 +4945,10 @@ post_save.connect(post_save_cache, sender=LicenseType)
post_delete.connect(post_save_cache, sender=LicenseType)
-class Document(BaseHistorizedItem, OwnPerms, ImageModel, ValueGetter, MainItem):
+class Document(BaseHistorizedItem, QRCodeItem, OwnPerms, ImageModel,
+ ValueGetter, MainItem):
+ APP = "ishtar-common"
+ MODEL = "document"
EXTERNAL_ID_KEY = 'document_external_id'
DELETE_URL = 'delete-document'
# order is important: put the image in the first match found