diff options
Diffstat (limited to 'archaeological_finds/wizards.py')
| -rw-r--r-- | archaeological_finds/wizards.py | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index 1dc6ff348..61636aa25 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -1,6 +1,6 @@  #!/usr/bin/env python  # -*- coding: utf-8 -*- -# Copyright (C) 2012-2013  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2012-2016  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet>  # This program is free software: you can redistribute it and/or modify  # it under the terms of the GNU Affero General Public License as @@ -75,6 +75,14 @@ class FindModificationWizard(FindWizard):      filter_owns = {'selec-find_modification': ['pk']} +class FindDeletionWizard(DeletionWizard): +    model = models.Find +    fields = ['label', 'material_types', 'datings', 'find_number', +              'object_types', 'description', 'conservatory_state', 'mark', +              'preservation_to_considers', 'integrities', 'volume', +              'weight', 'length', 'width', 'height', 'diameter', 'comment'] + +  class TreatmentWizard(Wizard):      model = models.Treatment | 
