class documentation

class Jinja2(BaseEngine):

View In Hierarchy

Undocumented

Method __init__ Initialize the template engine.
Method from​_string Create and return a template for the given source code.
Method get​_template Load and return a template for the given name.
Class Variable app​_dirname Undocumented
Instance Variable context​_processors Undocumented
Instance Variable env Undocumented
Property template​_context​_processors Undocumented

Inherited from BaseEngine:

Method iter​_template​_filenames Iterate over candidate files for template_name.
Instance Variable app​_dirs Undocumented
Instance Variable dirs Undocumented
Instance Variable name Undocumented
Property template​_dirs Return a list of directories to search for templates.
def __init__(self, params):

Initialize the template engine.

params is a dict of configuration settings.

def from_string(self, template_code):

Create and return a template for the given source code.

This method is optional.

def get_template(self, template_name):

Load and return a template for the given name.

Raise TemplateDoesNotExist if no such template exists.

app_dirname: str =
context_processors =

Undocumented

env =

Undocumented

@cached_property
template_context_processors =

Undocumented