Merge pull request #1117 from lovedboy/webpy

add web.py frameworks example
This commit is contained in:
Berker Peksag 2015-09-22 16:37:35 +03:00
commit 12b4862c1b

View File

@ -0,0 +1,16 @@
# Run with
#
# $ gunicorn webpyapp:app
#
import web
urls = (
'/', 'index'
)
class index:
def GET(self):
return "Hello, world!"
app = web.application(urls, globals()).wsgifunc()