Public Member Functions | |
def | __init__ |
def | resolve_path |
Public Attributes | |
root | |
Private Member Functions | |
def | _create_template |
A template loader that loads from a single root directory.
Definition at line 350 of file template.py.
def tornado.template.Loader.__init__ | ( | self, | |
autoescape, | |||
namespace | |||
) |
``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 353 of file template.py.
def tornado.template.Loader._create_template | ( | self, | |
name | |||
) | [private] |
Reimplemented from tornado.template.BaseLoader.
Definition at line 368 of file template.py.
def tornado.template.Loader.resolve_path | ( | self, | |
name, | |||
parent_path = None |
|||
) |
Converts a possibly-relative path to absolute (used internally).
Reimplemented from tornado.template.BaseLoader.
Definition at line 357 of file template.py.
Definition at line 353 of file template.py.