Explorar el Código

add home route

weichen hace 4 años
padre
commit
d54a397a63
Se han modificado 1 ficheros con 9 adiciones y 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')