Package turbogears :: Package widgets :: Module meta

Module meta

source code

Metaclass for TurboGears widgets and support for external packages

Classes
  MetaWidget
The meta class for widgets.
Functions
 
load_template(template, engine_name=None, mod_name=None)
Load the template with the engine into the module name.
source code
Function Details

load_template(template, engine_name=None, mod_name=None)

source code 

Load the template with the engine into the module name.

If engine_name is None, it will be derived from the template. If the engine cannot be derived, the default_engine will be used. If mod_name is None, an unique one will be generated. Returns a tuple (template_class, template_text, engine_name).