This commit is contained in:
gio 2017-02-08 22:46:49 +01:00
parent 8cad260eee
commit 81694cc3bf

View file

@ -1,20 +1,12 @@
from bottle import route, run,template
@route('/')
@route('/myapp')
@route('/myapp/')
def myApp():
return template('map_template', item=item)
def root():
return template('map_template', item="prova bind")
@route('/myapp/<item>')
@route('/<item>')
def myName(item):
return template('map_template', item=item)
return template('map_template', item=item)
@route('/myapp/favourite/')
@route('/myapp/favourite/<item>')
def favourite(item):
return template('favourite_template', item=item)
run(host='localhost', port=9093)