From 86c95b458869560d97ede77579262c86597c4453 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 7 Dec 2016 20:01:09 +0100 Subject: Manage treatment files --- archaeological_finds/wizards.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'archaeological_finds/wizards.py') diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index bb2d1042e..736143d87 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -126,7 +126,16 @@ class TreatmentDeletionWizard(DeletionWizard): fields = ['label', 'other_reference', 'year', 'index', 'treatment_types', 'location', 'person', 'organization', 'external_id', 'comment', 'description', - 'goal', 'start_date', 'end_date', 'container']\ + 'goal', 'start_date', 'end_date', 'container'] + + +class TreatmentFileWizard(Wizard): + model = models.TreatmentFile + wizard_done_window = reverse_lazy('show-treatmentfile') + + +class TreatmentFileModificationWizard(TreatmentFileWizard): + modification = True class FindSourceWizard(SourceWizard): -- cgit v1.2.3