begin mg tut framework in be
This commit is contained in:
1 parent
9b79a3796b
commit
becc234263
12 files changed
+60
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
from app import routes
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
from app import app
|
||||
|
||||
@app.route('/')
|
||||
@app.route('/index')
|
||||
def index():
|
||||
return "Hello, World!"
|
||||
|
||||
Reference in new issue
Block a user