diff options
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 |
commit | c33e49777af11ad8cadc311833136cbaf5872962 (patch) | |
tree | c644209eb81804406bfc5f014713dc1f62bc5ad4 /archaeological_context_records/models.py | |
parent | 01945a4aeca368458236cf022b64be2b3539e66b (diff) | |
download | Ishtar-c33e49777af11ad8cadc311833136cbaf5872962.tar.bz2 Ishtar-c33e49777af11ad8cadc311833136cbaf5872962.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.py | 4 |
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', |