diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-22 23:21:32 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-22 23:21:32 +0200 |
| commit | 0ce225a3c40d13404d72326de064ca0f0e56a88a (patch) | |
| tree | e0ff4b3d3f7242517ade10cc81843921e565b5ef /archaeological_finds/views.py | |
| parent | ce71152fcae3a25b9cadfd8a4a561829e3296d3c (diff) | |
| download | Ishtar-0ce225a3c40d13404d72326de064ca0f0e56a88a.tar.bz2 Ishtar-0ce225a3c40d13404d72326de064ca0f0e56a88a.zip | |
Treatments: more work on db treatments efficiency (refs #3108)
Diffstat (limited to 'archaeological_finds/views.py')
| -rw-r--r-- | archaeological_finds/views.py | 3 |
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), |
