标签: python flask
我正在尝试使用
return redirect('/')
给我一个错误
File "f:\Host\FLAKS\main.py", line 40, in response return redirect('/logout') TypeError: redirect() takes 0 positional arguments but 1 was given
答案 0 :(得分:0)
您将要查看烧瓶redirect() documentation,尤其是quickstart section about redirects。