Mercurial > hg > webob_view
comparison webob_view/__init__.py @ 0:72cb6dc31e3f
initial commit of webob_view from https://svn.openplans.org/svn/standalone/templates/webob_view/trunk/
author | k0s <k0scist@gmail.com> |
---|---|
date | Tue, 27 Oct 2009 15:04:33 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:72cb6dc31e3f |
---|---|
1 from paste.script import templates | |
2 | |
3 var = templates.var | |
4 | |
5 class WebobViewTemplate(templates.Template): | |
6 _template_dir = 'template' | |
7 summary = "a simple view with webob" | |
8 vars = [ | |
9 var('description', 'One-line description of the package'), | |
10 var('author', 'Author name'), | |
11 var('author_email', 'Author email'), | |
12 var('url', 'URL of homepage'), | |
13 var('port', 'port to serve paste') | |
14 ] |