view webob_view/__init__.py @ 2:4ebaf68f2272

moving to dispatcher as that's what it is now
author k0s <k0scist@gmail.com>
date Thu, 29 Oct 2009 15:11:05 -0400
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')
        ]