view webob_view/__init__.py @ 7:ff0e2a6dd07b

need webob to install; thanks, hobs!
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 21 Oct 2010 13:43:24 -0700
parents 72cb6dc31e3f
children
line wrap: on
line source

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')
        ]