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

/tmp/examples/dynamicweb/plugins/test.py

https://bitbucket.org/prologic/circuits/
Python | 8 lines | 5 code | 3 blank | 0 comment | 0 complexity | eddf5e437b36f5794191b74dd692e7c9 MD5 | raw file
1from circuits.web import Controller
2
3class Test(Controller):
4
5    channel = "/test"
6
7    def index(self):
8        return "This is /test!"