Commit 9cfdf479 authored by Skia's avatar Skia
Browse files

Fix OperationEditView

parent e8713b3c
Pipeline #155 failed with stage
in 1 minute and 42 seconds
...@@ -294,7 +294,7 @@ class OperationEditView(CanEditMixin, UpdateView): ...@@ -294,7 +294,7 @@ class OperationEditView(CanEditMixin, UpdateView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
""" Add journal to the context """ """ Add journal to the context """
kwargs = super(OperationCreateView, self).get_context_data(**kwargs) kwargs = super(OperationEditView, self).get_context_data(**kwargs)
kwargs['object'] = self.object.journal kwargs['object'] = self.object.journal
return kwargs return kwargs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment