summaryrefslogtreecommitdiff
path: root/archaeological_finds/models_finds.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-02-25 18:07:15 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-24 19:38:57 +0200
commit9937ed0dc9779d505633585a2fad2403b89c5b7f (patch)
tree068c7b4348f5fe28d4ab4ec50bbc1c3dbbf89271 /archaeological_finds/models_finds.py
parent959471fcc4a1a8d39aab9202eb88816be14e90b2 (diff)
downloadIshtar-9937ed0dc9779d505633585a2fad2403b89c5b7f.tar.bz2
Ishtar-9937ed0dc9779d505633585a2fad2403b89c5b7f.zip
Manage generation of QR codes
Diffstat (limited to 'archaeological_finds/models_finds.py')
-rw-r--r--archaeological_finds/models_finds.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py
index 01f4b719f..084e2b8d7 100644
--- a/archaeological_finds/models_finds.py
+++ b/archaeological_finds/models_finds.py
@@ -41,7 +41,7 @@ from ishtar_common.models import Document, GeneralType, \
ValueGetter, get_current_profile, IshtarSiteProfile, PRIVATE_FIELDS, \
GeoItem, BulkUpdatedItem, ExternalIdManager, QuickAction, \
MainItem, document_attached_changed, HistoryModel, DynamicRequest, \
- SearchAltName
+ SearchAltName, QRCodeItem
from archaeological_operations.models import AdministrativeAct, Operation
@@ -700,8 +700,8 @@ def query_loan(is_true=True):
container_ref=F('container')), None, None
-class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, OwnPerms,
- MainItem):
+class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, QRCodeItem,
+ OwnPerms, MainItem):
EXTERNAL_ID_KEY = 'find_external_id'
SHOW_URL = 'show-find'
SLUG = 'find'