connected to flask

This commit is contained in:
alex danamir
2020-12-14 00:24:13 +03:00
parent 0f89efd754
commit 0bba7247cd
3 changed files with 52 additions and 50 deletions

13
app.py
View File

@@ -0,0 +1,13 @@
from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def index():
return render_template('index.html')
if __name__ == "__main__":
app.jinja_env.auto_reload = True
app.run(debug=True)