diff options
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index 74840e552..94d6b49f9 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -87,7 +87,6 @@ class OperationWizard(Wizard): Return extra context for templates """ context = super(OperationWizard, self).get_context_data(form, **kwargs) - step = self.steps.current # reminder of the current file reminder = self.get_reminder() if reminder: @@ -198,15 +197,6 @@ class OperationModificationWizard(OperationWizard): modification = True filter_owns = {"selec-operation_modification": ["pk"]} - def get_form_kwargs(self, step, **kwargs): - kwargs = super(OperationModificationWizard, self).get_form_kwargs( - step, **kwargs - ) - if step != "relations-operation_modification": - return kwargs - kwargs["left_record"] = self.get_current_object() - return kwargs - class OperationClosingWizard(ClosingWizard): model = models.Operation |