Flask Werkzeug.routing.BuildError
I doing a flask app and when i try to put a link to redirect a user to his profile page by calling BuildError: Could not build url for endpoint 'profile'. Did you forget to spe
Solution 1:
Problem is you are not defining the route view function to take in the following form:
/profile/business_name
Hence you should send business_name in URL but you are sending arguments to the function. You should do the following:
<a href="/profile/{{business_name=g.user.business_name }}">
Post a Comment for "Flask Werkzeug.routing.BuildError"