| Home | Trees | Indices | Help |
|---|
|
|
application --+
|
auto_application
Application similar to `application` but urls are constructed automatiacally using metaclass.
>>> app = auto_application() >>> class hello(app.page): ... def GET(self): return "hello, world" ... >>> class foo(app.page): ... path = '/foo/.*' ... def GET(self): return "foo" >>> app.request("/hello").data 'hello, world' >>> app.request('/foo/bar').data 'foo'
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:30 2010 | http://epydoc.sourceforge.net |