mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-01 16:42:33 +00:00
Fix OperationEditView
This commit is contained in:
1 parent
e8713b3c22
commit
9cfdf4798d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user