home.py的代码:
from flask import Blueprint,session,Flask,request,redirect,url_for,render_template,flashhome_view = Blueprint('home', __name__)@home_view.route('/',methods=['GET','POST'])def homep(): return render_template('login.html')login.html的代码
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title></head><body>login page</body></html>
跳转的时候提示The requested URL was not found on the server.请问各位老师该如何修改?谢谢.