Mercurial > hg > genshi_view
view genshi_view/__init__.py @ 21:807c8eef8098
add a handler for tempita; should rename the package (at some point) template_view
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 17 Nov 2010 11:02:33 -0800 |
parents | b65da5423cc9 |
children |
line wrap: on
line source
from paste.script import templates var = templates.var class GenshiViewTemplate(templates.Template): _template_dir = 'template' summary = "a simple view with webob + genshi" vars = [ var('description', 'One-line description of the package'), var('author', 'Author name'), var('author_email', 'Author email'), var('url', 'URL of homepage'), var('port', 'port to serve paste') ]