summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-30 17:41:18 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-30 17:41:18 +0100
commitb6a58ae42723a93df08dca35646b6f5ea1270d49 (patch)
treea51e52ac398b8303e7e99309b232ec49e104d1bd /archaeological_finds
parentec2ef1a59c01d79d0341545b92a07a60dee6321d (diff)
downloadIshtar-b6a58ae42723a93df08dca35646b6f5ea1270d49.tar.bz2
Ishtar-b6a58ae42723a93df08dca35646b6f5ea1270d49.zip
Fix treatment and file treatment sheet display (bad QR code link)
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/models_treatments.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py
index 509d67f70..88f267a9b 100644
--- a/archaeological_finds/models_treatments.py
+++ b/archaeological_finds/models_treatments.py
@@ -95,6 +95,8 @@ class Treatment(
ShortMenuItem,
):
SLUG = "treatment"
+ APP = "archaeological-finds"
+ MODEL = SLUG
SHOW_URL = "show-treatment"
TABLE_COLS = (
"year",
@@ -1015,6 +1017,8 @@ class TreatmentFile(
ShortMenuItem,
):
SLUG = "treatmentfile"
+ APP = "archaeological-finds"
+ MODEL = SLUG
SHOW_URL = "show-treatmentfile"
DELETE_URL = "delete-treatmentfile"
TABLE_COLS = ["type", "year", "index", "internal_reference", "name"]