diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-07 17:20:18 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-07 17:20:18 +0100 |
commit | cc05d8f59db768cd3deefb5424b71e3ee7511552 (patch) | |
tree | 9ced1fb99aa3f63bfb3440320117e88613f3c1b7 /archaeological_finds/wizards.py | |
parent | e91a151d549bfc06cb27772e717b80412a39ff61 (diff) | |
download | Ishtar-cc05d8f59db768cd3deefb5424b71e3ee7511552.tar.bz2 Ishtar-cc05d8f59db768cd3deefb5424b71e3ee7511552.zip |
Finds: deletion (refs #2812)
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 |