最佳答案
我的Flask路由的一半需要一个变量,比如/<variable>/add或/<variable>/remove。如何创建指向这些位置的链接?
url_for()需要一个参数的函数路由,但我不能添加参数?