
Public Member Functions | |
| def | __init__ |
| def | resolve_path |
Public Attributes | |
| dict | |
Private Member Functions | |
| def | _create_template |
A template loader that loads from a dictionary.
Definition at line 361 of file template.py.
| def tornado.template.DictLoader.__init__ | ( | self, | |
| autoescape, | |||
| namespace | |||
| ) |
Creates a template loader. root_directory may be the empty string if this loader does not use the filesystem. autoescape must be either None or a string naming a function in the template namespace, such as "xhtml_escape".
Reimplemented from tornado.template.BaseLoader.
Definition at line 363 of file template.py.
| def tornado.template.DictLoader._create_template | ( | self, | |
| name | |||
| ) | [private] |
Reimplemented from tornado.template.BaseLoader.
Definition at line 375 of file template.py.
| def tornado.template.DictLoader.resolve_path | ( | self, | |
| name, | |||
parent_path = None |
|||
| ) |
Converts a possibly-relative path to absolute (used internally).
Reimplemented from tornado.template.BaseLoader.
Definition at line 367 of file template.py.
Definition at line 363 of file template.py.