SimpleTemplateResponse.template_name The name of the template to be rendered. Accepts a backend-dependent template object (such
Context.get(key, otherwise=None) Returns the value for key if key is in the context, else returns
SimpleTemplateResponse.render() [source] Sets response.content to the result
class TemplateResponse [source] TemplateResponse is a subclass of Sim
SimpleTemplateResponse.add_post_render_callback() [source] Add a callback that will be invoked
class locmem.Loader Loads templates from a Python dictionary. This is useful for testing. This
Django’s template engine provides a powerful mini-language for defining the user-facing layer of your application, encouraging a clean separation of application and presentation
SimpleTemplateResponse.context_data The context data to be used when rendering the template. It must be a
class Loader [source] Loads templates from a given source, such as the filesystem or a database
Context.update(other_dict) [source] In addition to push() and pop()
Page 2 of 5