Fix in index.py
This commit is contained in:
parent
dd4cd73785
commit
e6c50e078e
1 changed files with 2 additions and 2 deletions
|
|
@ -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":
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue