summaryrefslogtreecommitdiff
path: root/archaeological_finds/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r--archaeological_finds/views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py
index 1ea2712fb..c50f4fb1b 100644
--- a/archaeological_finds/views.py
+++ b/archaeological_finds/views.py
@@ -142,6 +142,14 @@ get_treatmentfile = get_item(
search_form=forms.TreatmentFileSelect,
)
+get_exhibition = get_item(
+ models.TreatmentFile,
+ "get_treatmentfile",
+ "treatmentfile",
+ search_form=forms.TreatmentFileSelect,
+ base_request={"type__is_exhibition": True},
+)
+
get_administrativeacttreatmentfile = get_item(
AdministrativeAct,
"get_administrativeacttreatmentfile",