Skip to content

Commit

Permalink
WMABaseView.get_context_data should pass updated context
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Oct 24, 2016
1 parent 9f92f89 commit bb37dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wagtail/contrib/modeladmin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def get_context_data(self, **kwargs):
'model_admin': self.model_admin,
}
context.update(kwargs)
return super(WMABaseView, self).get_context_data(**kwargs)
return super(WMABaseView, self).get_context_data(**context)


class ModelFormView(WMABaseView, FormView):
Expand Down

0 comments on commit bb37dec

Please sign in to comment.