Fix in index.py

This commit is contained in:
Antonio de la Rosa 2016-05-23 05:42:45 +02:00
parent dd4cd73785
commit e6c50e078e

View file

@ -15,17 +15,17 @@ def home():
return t.load_template('welcome.html', title="Welcome to Paramecio!!!", content="The simple web framework writed in Python3!!!")
"""
@route('/welcome/<id:int>')
def page(id):
t=PTemplate(env)
return t.load_template('index.html', title="A simple example of a page", id=id, value=request.query.value)
@route('/welcome/test/<id:int>')
def test(id):
return make_url('welcome/test/5', {'ohmygod': 'This is gooood', 'shutup':'Shut up!!'})
"""
if config.default_module=="welcome":