Fix OperationEditView

This commit is contained in:
Skia 2016-08-29 20:13:53 +02:00
parent e8713b3c22
commit 9cfdf4798d

View File

@ -294,7 +294,7 @@ class OperationEditView(CanEditMixin, UpdateView):
def get_context_data(self, **kwargs):
""" 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
return kwargs