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 | c095ce33a5233176f0a8d46d146e1f6902f0ca58 (patch) | |
tree | 9ced1fb99aa3f63bfb3440320117e88613f3c1b7 /archaeological_finds/wizards.py | |
parent | eed8e7aad548399c214843350bae472353738f9a (diff) | |
download | Ishtar-c095ce33a5233176f0a8d46d146e1f6902f0ca58.tar.bz2 Ishtar-c095ce33a5233176f0a8d46d146e1f6902f0ca58.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 |