summaryrefslogtreecommitdiff
path: root/archaeological_finds/views.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-22 16:00:20 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-22 16:00:20 +0200
commit0f53f8566f998048e554d3555a567a560e860551 (patch)
treeb939ab77db6bcd04060dcb2819b15be2984d70f5 /archaeological_finds/views.py
parent2424d558f6de4b422f0cfd2357014fe7f7c767ff (diff)
downloadIshtar-0f53f8566f998048e554d3555a567a560e860551.tar.bz2
Ishtar-0f53f8566f998048e554d3555a567a560e860551.zip
Finds: new SQL view to manage easily list of tretments (refs #3108)
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r--archaeological_finds/views.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py
index cc070ba71..6bad075b5 100644
--- a/archaeological_finds/views.py
+++ b/archaeological_finds/views.py
@@ -329,6 +329,9 @@ class DeleteFindBasketView(IshtarMixin, LoginRequiredMixin, FormView):
form.save()
return HttpResponseRedirect(self.get_success_url())
+get_treatment = get_item(
+ models.Treatment, 'get_treatment', 'treatment')
+
treatment_creation_wizard = TreatmentWizard.as_view([
('basetreatment-treatment_creation', BaseTreatmentForm),
('selecfind-treatment_creation', UpstreamFindFormSelection),