Mercurial > hg > genshi_view
view genshi_view/__init__.py @ 22:f088f0b54b55 default tip
py3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 08:42:44 -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') ]