class documentation

class Loader(BaseLoader):

Known subclasses: django.template.loaders.app_directories.Loader

View In Hierarchy

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 No summary
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):
def get_contents(self, origin):

Undocumented

def get_dirs(self):
def get_template_sources(self, template_name):
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.
dirs =

Undocumented