do stuff... class IndexView(TemplateView): def get_context_data(self, **kwargs): data = super(IndexView, self).get_context_data(**kwargs) data["foo"] = "bar" return data
do stuff... class IndexView(TemplateView): def get_context_data(self, **kwargs): data = super(IndexView, self).get_context_data(**kwargs) data["foo"] = "bar" return data