class documentation
class SimpleTemplate(BaseTemplate): (source)
Undocumented
Method | execute |
Undocumented |
Method | prepare |
Run preparations (parsing, caching, ...). It should be possible to call this again to refresh a template or to update settings. |
Method | render |
Render the template using keyword arguments as local variables. |
Instance Variable | cache |
Undocumented |
Instance Variable | syntax |
Undocumented |
Property | co |
Undocumented |
Property | code |
Undocumented |
Method | _include |
Undocumented |
Method | _rebase |
Undocumented |
Instance Variable | _escape |
Undocumented |
Instance Variable | _str |
Undocumented |
Inherited from BaseTemplate
:
Class Method | global |
This reads or sets the global settings stored in class.settings. |
Class Method | search |
Search name in all directories specified in lookup. First without, then with common extensions. Return first hit. |
Method | __init__ |
Create a new template. If the source parameter (str or buffer) is missing, the name argument is used to guess a template filename. Subclasses can assume that self.source and/or self.filename are set. Both are strings... |
Class Variable | defaults |
Undocumented |
Class Variable | extensions |
Undocumented |
Instance Variable | encoding |
Undocumented |
Instance Variable | filename |
Undocumented |
Instance Variable | lookup |
Undocumented |
Instance Variable | name |
Undocumented |
Instance Variable | settings |
Undocumented |
Instance Variable | source |
Undocumented |
overrides
bottle.BaseTemplate.prepare
Run preparations (parsing, caching, ...). It should be possible to call this again to refresh a template or to update settings.
overrides
bottle.BaseTemplate.render
Render the template using keyword arguments as local variables.