mirror of
https://github.com/ae-utbm/sith.git
synced 2024-10-31 19:38:04 +00:00
Fix OperationEditView
This commit is contained in:
parent
e8713b3c22
commit
9cfdf4798d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user