/examples/web/wsgiapp.py
https://bitbucket.org/prologic/circuits/ · Python · 13 lines · 7 code · 5 blank · 1 comment · 0 complexity · 7dd46b997fb8ecbd722c4b334928545c MD5 · raw file
- #!/usr/bin/env python
- from circuits.web import Controller
- from circuits.web.wsgi import Application
- class Root(Controller):
- def index(self):
- return "Hello World!"
- application = Application()
- Root().register(application)