New bug that never happen in previous version #4803
-
what the bug is: Describe how to replicate the bug. Running code from below, which is a guide showing in flask document quickstart
Describe the expected behavior that should have happened but didn't. No errors for these code for previous version of flask. So there should be no problem for this version also Environment:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Your code is missing an @app.route('/')
def index():
return 'index' Without the above code, calling |
Beta Was this translation helpful? Give feedback.
Your code is missing an
index()
view function. The quickstart’s version is:Without the above code, calling
url_for('index')
naturally results in aBuildError
.