diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-07 20:01:09 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-07 20:01:09 +0100 |
commit | 86c95b458869560d97ede77579262c86597c4453 (patch) | |
tree | 5377e0e17c0a0f0952d37997aee038803b6ca680 /archaeological_finds/wizards.py | |
parent | fcf63a61bdcab906aad45c69eb95167850e2c40a (diff) | |
download | Ishtar-86c95b458869560d97ede77579262c86597c4453.tar.bz2 Ishtar-86c95b458869560d97ede77579262c86597c4453.zip |
Manage treatment files
Diffstat (limited to 'archaeological_finds/wizards.py')
-rw-r--r-- | archaeological_finds/wizards.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index bb2d1042e..736143d87 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -126,7 +126,16 @@ class TreatmentDeletionWizard(DeletionWizard): fields = ['label', 'other_reference', 'year', 'index', 'treatment_types', 'location', 'person', 'organization', 'external_id', 'comment', 'description', - 'goal', 'start_date', 'end_date', 'container']\ + 'goal', 'start_date', 'end_date', 'container'] + + +class TreatmentFileWizard(Wizard): + model = models.TreatmentFile + wizard_done_window = reverse_lazy('show-treatmentfile') + + +class TreatmentFileModificationWizard(TreatmentFileWizard): + modification = True class FindSourceWizard(SourceWizard): |