diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/webob_view/__init__.py	Tue Oct 27 15:04:33 2009 -0400
@@ -0,0 +1,14 @@
+from paste.script import templates
+
+var = templates.var
+
+class WebobViewTemplate(templates.Template):
+    _template_dir = 'template'
+    summary = "a simple view with webob"
+    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')
+        ]