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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py
index 6bad075b5..783b336f2 100644
--- a/archaeological_finds/views.py
+++ b/archaeological_finds/views.py
@@ -330,7 +330,8 @@ class DeleteFindBasketView(IshtarMixin, LoginRequiredMixin, FormView):
return HttpResponseRedirect(self.get_success_url())
get_treatment = get_item(
- models.Treatment, 'get_treatment', 'treatment')
+ models.FindTreatments, 'get_treatment', 'treatment',
+ extra_request_keys={'find_id': 'find_id'})
treatment_creation_wizard = TreatmentWizard.as_view([
('basetreatment-treatment_creation', BaseTreatmentForm),