diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-11-18 11:45:11 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:56 +0100 |
commit | c799c6902e389d2c91f602380b5639878af73356 (patch) | |
tree | 71d98d06a429ac392280c22c328d6d9c8649881b /archaeological_finds/views.py | |
parent | 0f9d6565ab50757d5530fc785803906d437aaad1 (diff) | |
download | Ishtar-c799c6902e389d2c91f602380b5639878af73356.tar.bz2 Ishtar-c799c6902e389d2c91f602380b5639878af73356.zip |
🗃️ database: add associated basket to treatments - is exhibition for treatments types
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r-- | archaeological_finds/views.py | 8 |
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", |