DEW 4 months ago
parent
commit
b507513339
  1. 5
      00/hello.py

5
hello.py → 00/hello.py

@ -1,6 +1,7 @@
from flask import Flask
from flask_script import Manager
app = Flask(__name__)
manager = Manager(app)
@app.route('/')
def index():
@ -13,4 +14,4 @@ def user(name):
if __name__ == '__main__':
app.run(debug=True)
manager.run()
Loading…
Cancel
Save