render_template 渲染页面 **locals表示接收所有参数进行返回
return render_template("index/index.html",**locals())
重定向 根据蓝图名.函数名进行函数调用,从而实现重定向
return redirect(url_for("bbs.index"))
return可以返回字符串
return “任意字符串 ”
返回响应对象
return response
render_template 渲染页面 **locals表示接收所有参数进行返回
return render_template("index/index.html",**locals())
重定向 根据蓝图名.函数名进行函数调用,从而实现重定向
return redirect(url_for("bbs.index"))
return可以返回字符串
return “任意字符串 ”
返回响应对象
return response