mirror of https://github.com/mitsuhiko/flask.git
David Lord
7 years ago
52 changed files with 167 additions and 52 deletions
@ -1,5 +1,14 @@
|
||||
# -*- coding: utf-8 -*- |
||||
""" |
||||
yourapplication.views |
||||
~~~~~~~~~~~~~~~~~~~~~ |
||||
|
||||
:copyright: © 2010 by the Pallets team. |
||||
:license: BSD, see LICENSE for more details. |
||||
""" |
||||
|
||||
from yourapplication import app |
||||
|
||||
@app.route('/') |
||||
def index(): |
||||
return 'Hello World!' |
||||
return 'Hello World!' |
||||
|
Loading…
Reference in new issue