﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
28943	Unenforce manual get_context_data()	James Pic	nobody	"Currently, TemplateView inherits render_to_response(context) from TemplateResponseMixin which requires a context argument.

Instead, TemplateView should have its own render_to_response(context=None) that would get a context by default from get_context_data(). 

TemplateView.render_to_response() should call its ContextMixin.get_context_data() method automatically is because TemplateView inherits from both TemplateResponseMixin, and ContextMixin which provides the get_context_data() method.

Currently, the workaround is to call 
{{{
# note usage of self in the method call
TemplateResponse.get(self, request, *args, **kwargs)
}}}

However, users should really be calling what they mean to do instead: 

{{{
super().render_to_response()
}}}

Then, then can still resolve {{ view }} in the template to add more variables."	Cleanup/optimization	new	Generic views	2.0	Normal				Unreviewed	0	0	0	0	1	0
