diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-11-19 11:58:15 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:56 +0100 |
commit | e7dfaffc372292d8467da8a8be872e9ac9456618 (patch) | |
tree | 0cac7d0f5fcaf03d07062fc35a18a43b0aaa7cae /archaeological_finds/views.py | |
parent | 225f4356ca145d7f634aa8050d936de2dbd1cfec (diff) | |
download | Ishtar-e7dfaffc372292d8467da8a8be872e9ac9456618.tar.bz2 Ishtar-e7dfaffc372292d8467da8a8be872e9ac9456618.zip |
✨ base exhibition views
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r-- | archaeological_finds/views.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index c50f4fb1b..777b064c5 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -221,7 +221,7 @@ revert_find = revert_item(models.Find) show_findbasket = show_item( models.FindBasket, "findbasket", model_for_perms=models.Find ) -display_findbasket = display_item(models.FindBasket, show_url="show-find-basket") +display_findbasket = display_item(models.FindBasket, show_url="show-findbasket") def autocomplete_findbasket(request, current_right=None): @@ -629,6 +629,13 @@ get_downstreamtreatment = get_item( models.FindDownstreamTreatments, "get_downstreamtreatment", "downtreatment" ) + +exhibition_wizard = wizards.TreatmentFileSearch.as_view( + [("search", forms_treatments.ExhibitionFormSelection)], + label=_("Exhibition: search"), + url_name="exhibition-search", +) + treatment_wizard_steps = [ ("selecfind-treatment_creation", forms.UpstreamFindFormSelection), ("file-treatment_creation", forms.TreatmentFormFileChoice), |