class documentation

class Loader:

Known subclasses: django.template.loaders.cached.Loader, django.template.loaders.filesystem.Loader, django.template.loaders.locmem.Loader

View In Hierarchy

Undocumented

Method get​_template No summary
Method get​_template​_sources An iterator that yields possible matching template paths for a template name.
Method __init__ Undocumented
Method reset Reset any state maintained by the loader instance (e.g. cached templates or cached loader modules).
Instance Variable engine Undocumented
def get_template(self, template_name, skip=None):
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.
def get_template_sources(self, template_name):
An iterator that yields possible matching template paths for a template name.
def reset(self):
Reset any state maintained by the loader instance (e.g. cached templates or cached loader modules).
engine =

Undocumented