Parcourir la source

add home route

weichen il y a 4 ans
Parent
commit
d54a397a63
1 fichiers modifiés avec 9 ajouts et 0 suppressions
  1. 9 0
      backstage/home/routes.py

+ 9 - 0
backstage/home/routes.py

@@ -0,0 +1,9 @@
+from flask import render_template, Blueprint
+import requests
+
+home_app = Blueprint('home', __name__)
+
+
+@home_app.route('/backstage/home')
+def home():
+    return render_template('home.html')