SimpleTemplateResponse.render() [source] Sets response.content to the result
SimpleTemplateResponse.template_name The name of the template to be rendered. Accepts a backend-dependent template object (such
class TemplateResponse [source] TemplateResponse is a subclass of Sim
SimpleTemplateResponse.__init__(template, context=None, content_type=None, status=None, charset=None, using=None) [source]
SimpleTemplateResponse.is_rendered A boolean indicating whether the response content has been rendered.
SimpleTemplateResponse.resolve_context(context) [source] Preprocesses context data that will
SimpleTemplateResponse.context_data The context data to be used when rendering the template. It must be a
SimpleTemplateResponse.add_post_render_callback() [source] Add a callback that will be invoked
SimpleTemplateResponse.rendered_content The current rendered value of the response content, using the current template and context
TemplateResponse.__init__(request, template, context=None, content_type=None, status=None, charset=None, using=None) [source]
Page 1 of 2