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
Hi there!
I'm a bit confused with displaying product card (info) using @app.route ('/productDescription') and corresponding HTML page productdescription.html.
As far as I understand, the value of productid should be passed to URL address ('/productDescription?productid') with the according data retrieved from POSTGRESQL and displayed on corresponding HTML page - which never happened. For some reason flask cannot find this page, though, when I used
return request.args.get('productid')
the system takes me to the proper ('/productDescription?productid') page, say with productid=1, meanwhile it shows one and only productid value with no other required information from query.
I would appreciate if you give me the proper direct answer and guide!
Thank you in advance
Best regards
Anatoli
The text was updated successfully, but these errors were encountered:
Hi there!
I'm a bit confused with displaying product card (info) using @app.route ('/productDescription') and corresponding HTML page productdescription.html.
As far as I understand, the value of productid should be passed to URL address ('/productDescription?productid') with the according data retrieved from POSTGRESQL and displayed on corresponding HTML page - which never happened. For some reason flask cannot find this page, though, when I used
return request.args.get('productid')
the system takes me to the proper ('/productDescription?productid') page, say with productid=1, meanwhile it shows one and only productid value with no other required information from query.
I would appreciate if you give me the proper direct answer and guide!
Thank you in advance
Best regards
Anatoli
The text was updated successfully, but these errors were encountered: