PageRenderTime 16ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/web/wsgiapp.py

https://bitbucket.org/prologic/circuits/
Python | 13 lines | 7 code | 5 blank | 1 comment | 0 complexity | 7dd46b997fb8ecbd722c4b334928545c MD5 | raw file
 1#!/usr/bin/env python
 2
 3from circuits.web import Controller
 4from circuits.web.wsgi import Application
 5
 6
 7class Root(Controller):
 8
 9    def index(self):
10        return "Hello World!"
11
12application = Application()
13Root().register(application)