Public Member Functions | Public Attributes | Private Member Functions
tornado.template.Template Class Reference

List of all members.

Public Member Functions

def __init__
def generate

Public Attributes

 autoescape
 code
 compiled
 file
 loader
 name
 namespace

Private Member Functions

def _generate_python
def _get_ancestors

Detailed Description

A compiled template.

We compile into Python from the given template_string. You can generate
the template from variables with generate().

Definition at line 193 of file template.py.


Constructor & Destructor Documentation

def tornado.template.Template.__init__ (   self,
  template_string,
  name = "<string>",
  loader = None,
  compress_whitespace = None,
  autoescape = _UNSET 
)

Definition at line 199 of file template.py.


Member Function Documentation

def tornado.template.Template._generate_python (   self,
  loader,
  compress_whitespace 
) [private]

Definition at line 260 of file template.py.

def tornado.template.Template._get_ancestors (   self,
  loader 
) [private]

Definition at line 277 of file template.py.

def tornado.template.Template.generate (   self,
  kwargs 
)
Generate this template with the given arguments.

Definition at line 228 of file template.py.


Member Data Documentation

Definition at line 199 of file template.py.

Definition at line 199 of file template.py.

Definition at line 199 of file template.py.

Definition at line 199 of file template.py.

Definition at line 199 of file template.py.

Definition at line 199 of file template.py.

Definition at line 199 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