class documentation
class Loader(BaseLoader): (source)
Known subclasses: django.template.loaders.app_directories.Loader
Undocumented
Method | __init__ |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
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 |
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 |