Flask.url_for() error: Attempted to generate a URL without the application context being pushed

后端 未结 3 707
隐瞒了意图╮
隐瞒了意图╮ 2020-12-16 10:53

I have a trivial app where I\'m trying to redirect the favicon per:

http://flask.pocoo.org/docs/0.10/patterns/favicon/

app = flask.Flask(__name__)
ap         


        
3条回答
提交回复
热议问题