diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-08 20:41:59 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-12-08 20:41:59 +0100 | 
| commit | 549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05 (patch) | |
| tree | 7ec49e588438080c5a542123f5f7cee617df9999 /archaeological_finds/wizards.py | |
| parent | 7207f11fca59b23065bf259a32b595e8a9deec0b (diff) | |
| download | Ishtar-549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05.tar.bz2 Ishtar-549cd33d6390c7b5cd8043e4c63d0ceb0d1fcd05.zip | |
Manage file association for treatments
Diffstat (limited to 'archaeological_finds/wizards.py')
| -rw-r--r-- | archaeological_finds/wizards.py | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index 736143d87..eb838eb66 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -138,6 +138,13 @@ class TreatmentFileModificationWizard(TreatmentFileWizard):      modification = True +class TreatmentFileDeletionWizard(DeletionWizard): +    model = models.TreatmentFile +    fields = ['name', 'internal_reference', 'external_id', 'year', +              'index', 'type', 'in_charge', 'reception_date', +              'creation_date', 'end_date', 'comment'] + +  class FindSourceWizard(SourceWizard):      wizard_done_window = reverse_lazy('show-findsource')      model = models.FindSource | 
