Explorar o código

add home route

weichen %!s(int64=4) %!d(string=hai) anos
pai
achega
d54a397a63
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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')