From e7b2d3beff46937611a0a078bc6bf9905a2940ea Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 5 Dec 2016 01:02:06 +0100 Subject: Treatments: manage deletion --- archaeological_finds/wizards.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'archaeological_finds/wizards.py') diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index 42d734526..bb2d1042e 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -121,6 +121,14 @@ class TreatmentModificationWizard(TreatmentWizard): modification = True +class TreatmentDeletionWizard(DeletionWizard): + model = models.Treatment + fields = ['label', 'other_reference', 'year', 'index', + 'treatment_types', 'location', 'person', 'organization', + 'external_id', 'comment', 'description', + 'goal', 'start_date', 'end_date', 'container']\ + + class FindSourceWizard(SourceWizard): wizard_done_window = reverse_lazy('show-findsource') model = models.FindSource -- cgit v1.2.3