TemplateResponse.__init__(request, template, context=None, content_type=None, status=None, charset=None, using=None) [source]
Instantiates a TemplateResponse object with the given request, template, context, content type, HTTP status, and charset.
request An HttpRequest instance.
template A backend-dependent template object (such as those returned by get_template()), the name of a template, or a list of template names.
context A dict of values to add to the template context. By default