summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-02-26 20:14:22 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-04-24 19:38:57 +0200
commit5bd178db63db3ff05165fc131960f198b2fbbca3 (patch)
treec644209eb81804406bfc5f014713dc1f62bc5ad4 /archaeological_context_records/models.py
parentbb1bb0cf461766997a1496547edbbdf04ade4bd6 (diff)
downloadIshtar-5bd178db63db3ff05165fc131960f198b2fbbca3.tar.bz2
Ishtar-5bd178db63db3ff05165fc131960f198b2fbbca3.zip
QR code: QR code export, display on ODT and PDF
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index cd2b5f382..6dad4f600 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -271,8 +271,10 @@ class CRBulkView(object):
class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, QRCodeItem, GeoItem,
OwnPerms, ValueGetter, ShortMenuItem, RelationItem):
- SHOW_URL = 'show-contextrecord'
SLUG = 'contextrecord'
+ APP = "archaeological-context-records"
+ MODEL = "context-record"
+ SHOW_URL = 'show-contextrecord'
EXTERNAL_ID_KEY = 'context_record_external_id'
EXTERNAL_ID_DEPENDENCIES = ['base_finds']
TABLE_COLS = ['label', 'operation__common_name', 'town__name',