class documentation

Undocumented

Method __init__ Undocumented
Method get_contents Undocumented
Method get_dirs Undocumented
Method get_template_sources Return an Origin object pointing to an absolute path in each directory in template_dirs. For security reasons, if a path doesn't lie inside one of the template_dirs it is excluded from the result set.
Instance Variable dirs Undocumented

Inherited from Loader:

Method get_template Call self.get_template_sources() and return a Template object for the first template matching template_name. If skip is provided, ignore template origins in skip. This is used to avoid recursion during template extending.
Method reset Reset any state maintained by the loader instance (e.g. cached templates or cached loader modules).
Instance Variable engine Undocumented
def __init__(self, engine, dirs=None): (source)
def get_contents(self, origin): (source)

Undocumented

def get_dirs(self): (source)
def get_template_sources(self, template_name): (source)

Return an Origin object pointing to an absolute path in each directory in template_dirs. For security reasons, if a path doesn't lie inside one of the template_dirs it is excluded from the result set.

Undocumented