class TemplateStrings(BaseEngine):
Undocumented
Method | __init__ |
Initialize the template engine. |
Method | from_string |
Create and return a template for the given source code. |
Method | get_template |
Load and return a template for the given name. |
Class Variable | app_dirname |
Undocumented |
Inherited from BaseEngine
:
Method | iter_template_filenames |
Iterate over candidate files for template_name. |
Instance Variable | app_dirs |
Undocumented |
Instance Variable | dirs |
Undocumented |
Instance Variable | name |
Undocumented |
Property | template_dirs |
Return a list of directories to search for templates. |
Initialize the template engine.
params
is a dict of configuration settings.
Create and return a template for the given source code.
This method is optional.