summaryrefslogtreecommitdiff
path: root/archaeological_finds/wizards.py
diff options
context:
space:
mode:
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
commit86c95b458869560d97ede77579262c86597c4453 (patch)
tree5377e0e17c0a0f0952d37997aee038803b6ca680 /archaeological_finds/wizards.py
parentfcf63a61bdcab906aad45c69eb95167850e2c40a (diff)
downloadIshtar-86c95b458869560d97ede77579262c86597c4453.tar.bz2
Ishtar-86c95b458869560d97ede77579262c86597c4453.zip
Manage treatment files
Diffstat (limited to 'archaeological_finds/wizards.py')
-rw-r--r--archaeological_finds/wizards.py11
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):