diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-01 15:50:52 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-06-12 09:57:24 +0200 |
commit | 572b9047260322ed19cc9f674657b8be8d62c052 (patch) | |
tree | 0ed9392291c50980c7dbff14c9a05edc601076de /archaeological_context_records/wizards.py | |
parent | 66a376e081e335cf94ecf6fd41e5fe13a5445c57 (diff) | |
download | Ishtar-572b9047260322ed19cc9f674657b8be8d62c052.tar.bz2 Ishtar-572b9047260322ed19cc9f674657b8be8d62c052.zip |
Adapt forms, wizards, views, urls for new management of documents (refs #4107)
Diffstat (limited to 'archaeological_context_records/wizards.py')
-rw-r--r-- | archaeological_context_records/wizards.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/archaeological_context_records/wizards.py b/archaeological_context_records/wizards.py index cbeb1c1d2..89750794c 100644 --- a/archaeological_context_records/wizards.py +++ b/archaeological_context_records/wizards.py @@ -20,9 +20,9 @@ from django.core.exceptions import ObjectDoesNotExist from django.utils.translation import ugettext_lazy as _ -from ishtar_common.forms import reverse_lazy -from ishtar_common.wizards import Wizard, DeletionWizard, SourceWizard import models +from ishtar_common.forms import reverse_lazy +from ishtar_common.wizards import Wizard, DeletionWizard class RecordWizard(Wizard): @@ -150,13 +150,3 @@ class RecordDeletionWizard(DeletionWizard): 'filling', 'interpretation', 'taq', 'taq_estimated', 'tpq', 'tpq_estimated'] filter_owns = {'selec-record_deletion': ['pk']} - - -class RecordSourceWizard(SourceWizard): - model = models.ContextRecordSource - wizard_done_window = reverse_lazy('show-contextrecordsource') - - -class RecordSourceDeletionWizard(DeletionWizard): - model = models.ContextRecordSource - fields = ['context_record', 'title', 'source_type', 'authors', ] |