Buffet: a full spread of templates
Monday, December 26th, 2005I wrote a new filter for CherryPy late last week. Buffet supports templating with Cheetah, Kid, Myghty and simple Python String Templates. In your page handlers, you either return a tuple of (’template_name.tmpl’, {’foo’:’bar’, ’spam’:’eggs’}) or use a decorator to specify the template and simply return a dict from your page handler. [...]