kopia lustrzana https://github.com/wagtail/wagtail
WMABaseView.get_context_data should pass updated context
rodzic
9f92f894b8
commit
bb37dec700
|
@ -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):
|
||||
|
|
Ładowanie…
Reference in New Issue