Source

bottletest-on-dotcloud / wsgi.py

1
2
3
4
5
6
7
8
9
import bottle
from bottle import route, run, template

@route('/')
@route('/hello/:name')
def index(name='World'):
    return template('<b>Hello {{name}}</b>!', name=name)

application = bottle.default_app()