WMABaseView.get_context_data should pass updated context

pull/2887/merge
Matt Westcott 2016-10-24 22:11:58 +01:00
rodzic 9f92f894b8
commit bb37dec700
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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):