PageRenderTime 32ms CodeModel.GetById 19ms RepoModel.GetById 0ms 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
  1. from circuits.web import Controller
  2. class Test(Controller):
  3. channel = "/test"
  4. def index(self):
  5. return "This is /test!"