Skip to content

New bug that never happen in previous version #4803

Answered by tachyondecay
XJTLUmedia asked this question in Q&A
Discussion options

You must be logged in to vote

Your code is missing an index() view function. The quickstart’s version is:

@app.route('/')
def index():
    return 'index'

Without the above code, calling url_for('index') naturally results in a BuildError.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by XJTLUmedia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4802 on September 03, 2022 02:38.