Public Member Functions | Public Attributes | Private Member Functions
tornado.template.DictLoader Class Reference
Inheritance diagram for tornado.template.DictLoader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def resolve_path

Public Attributes

 dict

Private Member Functions

def _create_template

Detailed Description

A template loader that loads from a dictionary.

Definition at line 361 of file template.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Definition at line 363 of file template.py.


The documentation for this class was generated from the following file:


roswww
Author(s): Jonathan Mace
autogenerated on Thu Jan 2 2014 11:53:30