Class | BaseLoader |
No summary |
Class | ChoiceLoader |
This loader works like the PrefixLoader just that no prefix is specified. If a template could not be found by one loader the next one is tried. |
Class | DictLoader |
Loads a template from a Python dict mapping template names to template source. This loader is useful for unittesting: |
Class | FileSystemLoader |
Load templates from a directory in the file system. |
Class | FunctionLoader |
No summary |
Class | ModuleLoader |
This loader loads templates from precompiled templates. |
Class | PackageLoader |
Load templates from a directory in a Python package. |
Class | PrefixLoader |
No summary |
Class | _TemplateModule |
Like a normal module but with support for weak references |
Function | split_template_path |
Split a path into segments and perform a sanity check. If it detects '..' in the path it will raise a TemplateNotFound error. |
TemplateNotFound
error.Parameters | |
template:str | Undocumented |
Returns | |
t.List[ | Undocumented |