From 549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Dec 2016 20:41:59 +0100 Subject: Manage file association for treatments --- archaeological_finds/wizards.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'archaeological_finds/wizards.py') diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index 736143d87..eb838eb66 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -138,6 +138,13 @@ class TreatmentFileModificationWizard(TreatmentFileWizard): modification = True +class TreatmentFileDeletionWizard(DeletionWizard): + model = models.TreatmentFile + fields = ['name', 'internal_reference', 'external_id', 'year', + 'index', 'type', 'in_charge', 'reception_date', + 'creation_date', 'end_date', 'comment'] + + class FindSourceWizard(SourceWizard): wizard_done_window = reverse_lazy('show-findsource') model = models.FindSource -- cgit v1.2.3