diff options
Diffstat (limited to 'app/app.py')
| -rw-r--r-- | app/app.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,8 @@ -from flask import Flask, render_template +from flask import Flask +# Setup app before doing imports app = Flask(__name__) +app.config['TEMPLATES_AUTO_RELOAD'] = True -@app.route("/", methods=["GET"]) -def index(): - return render_template('base/index.html') +# Load routes +import routes |
