class documentation
class Loader: (source)
Known subclasses: django.template.loaders.cached.Loader
, django.template.loaders.filesystem.Loader
, django.template.loaders.locmem.Loader
Undocumented
Method | __init__ |
Undocumented |
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 | get |
An iterator that yields possible matching template paths for a template name. |
Method | reset |
Reset any state maintained by the loader instance (e.g. cached templates or cached loader modules). |
Instance Variable | engine |
Undocumented |
overridden in
django.template.loaders.cached.Loader
, django.template.loaders.filesystem.Loader
, django.template.loaders.locmem.Loader
Undocumented
overridden in
django.template.loaders.cached.Loader
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.
overridden in
django.template.loaders.cached.Loader
, django.template.loaders.filesystem.Loader
, django.template.loaders.locmem.Loader
An iterator that yields possible matching template paths for a template name.
overridden in
django.template.loaders.cached.Loader
Reset any state maintained by the loader instance (e.g. cached templates or cached loader modules).