You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
I believe you just set id=None and remove @route(bp,'/'):
@route(bp,'/<id:int>')
def index(id=None):
.....
Also see http://flask.pocoo.org/snippets/57/. In the future, post questions like this to stackoverflow/flask mailing list as the question is related to Flask, not the overholt structure.
Hi!
I want decorative view function two times with @route decorator like this:
bug i get error "View function mapping is overwriting an existing endpoint", is there a way to meet this demand?
The text was updated successfully, but these errors were encountered: