class documentation

class DefTemplate(Template):

View In Hierarchy

A .Template which represents a callable def in a parent template.
Method get​_def Return a def of this template as a .DefTemplate.
Method __init__ Undocumented
Instance Variable bytestring​_passthrough Undocumented
Instance Variable callable​_ Undocumented
Instance Variable enable​_loop Undocumented
Instance Variable encoding​_errors Undocumented
Instance Variable error​_handler Undocumented
Instance Variable format​_exceptions Undocumented
Instance Variable include​_error​_handler Undocumented
Instance Variable lookup Undocumented
Instance Variable module Undocumented
Instance Variable output​_encoding Undocumented
Instance Variable parent Undocumented

Inherited from Template:

Method list​_defs return a list of defs in the template.
Method render Render the output of this template as a string.
Method render​_context Render this .Template with the given context.
Method render​_unicode Render the output of this template as a unicode object.
Method ​_compile​_from​_file Undocumented
Method ​_get​_def​_callable Undocumented
Method ​_setup​_cache​_args Undocumented
Method has​_def Undocumented
Instance Variable ​_code Undocumented
Instance Variable ​_source Undocumented
Instance Variable buffer​_filters Undocumented
Instance Variable cache​_args Undocumented
Instance Variable cache​_enabled Undocumented
Instance Variable cache​_impl Undocumented
Instance Variable default​_filters Undocumented
Instance Variable disable​_unicode Undocumented
Instance Variable filename Undocumented
Instance Variable future​_imports Undocumented
Instance Variable imports Undocumented
Instance Variable input​_encoding Undocumented
Instance Variable lexer​_cls Undocumented
Instance Variable module​_directory Undocumented
Instance Variable module​_id Undocumented
Instance Variable module​_writer Undocumented
Instance Variable preprocessor Undocumented
Instance Variable strict​_undefined Undocumented
Instance Variable uri Undocumented
Property cache Undocumented
Property cache​_dir Undocumented
Property cache​_type Undocumented
Property cache​_url Undocumented
Property code Return the module source code for this .Template.
Property last​_modified Undocumented
Property reserved​_names Undocumented
Property source Return the template source code for this .Template.
def get_def(self, name):
Return a def of this template as a .DefTemplate.
def __init__(self, parent, callable_):

Undocumented

bytestring_passthrough =
callable_ =

Undocumented

enable_loop =

Undocumented

encoding_errors =
error_handler =

Undocumented

format_exceptions =
include_error_handler =
lookup =

Undocumented

module =

Undocumented

output_encoding =
parent =

Undocumented