mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-07 16:41:06 +00:00
WMABaseView.get_context_data should pass updated context
This commit is contained in:
parent
9f92f894b8
commit
bb37dec700
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class WMABaseView(TemplateView):
|
|||
'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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue