“NameError: name 'redirect' is not defined” even though redirect is imported

前端 未结 0 740
广开言路
广开言路 2021-01-11 17:41

I have this simple Flask 1.1.x app:

from flask import Flask
from flask import redirect, render_template, url_for

app = Flask(__name__)


@app.route(\'/\', me         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题