from flask import Blueprint,render_template from werkzeug.security import generate_password_hash admin = Blueprint('admin',__name__) @admin.route("/admin") def admin_page(): return render_template("admin.html") @admin.route("/new-web-user",methods=["POST"]) def new_web_user(): return "Create a new web user"