Filewatcher File Search File Search
Catalog
Content Search
» » » » » python-nevow_0.10.0-2_all.deb » Content »
pkg://python-nevow_0.10.0-2_all.deb:560584/usr/share/doc/python-nevow/examples/todo/  info  control  downloads

python-nevow - Web application templating system for Python and Twisted…  more info»

todo.tac

from twisted.application import service, strports
from nevow import appserver

from environment import env as e
import store
import dispatcher
import itodo

application = service.Application('todo')
db = store.Todos(e.dbname, e.user, e.password, e.host)
disp = dispatcher.Dispatch()

site = appserver.NevowSite(resource=disp)
site.remember(db, itodo.ITodos)
site.remember(e, itodo.IEnv)

webserver = strports.service("tcp:8080", site)
webserver.setServiceParent(application)
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com