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.py9
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),