Ver Fonte

add home route

weichen há 4 anos atrás
pai
commit
d54a397a63
1 ficheiros alterados com 9 adições e 0 exclusões
  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')