Warning
This documentation does not refer to the most recent version of Pylons. Current Documentation
The Buffet class is accessible via the pylons.util module.
Buffet implements template language plug-in support modeled highly on the Buffet Project from which this class inherits its name.
Prepare a template engine for use
This method must be run every request before the render method is called so that the template_root can be set.
Render a template using a template engine plug-in
To use templates it is expected that you will attach data to be used in the template to the c variable which is available in the controller and the template.
When porting code from other projects it is sometimes easier to use an exisitng dictionary which can be specified with namespace.
All other keyword options are passed directly to the template engine used.
See the source for more information.