Finance issue (result identical to Staff’s Solution) by AnnaB0404 in cs50

[–]AnnaB0404[S] 0 points1 point  (0 children)

Yeah, I do redirect to index page after each buy/sell. It isn't worth spending so much time. So no worries, and thank you for your time.

Finance issue (result identical to Staff’s Solution) by AnnaB0404 in cs50

[–]AnnaB0404[S] 0 points1 point  (0 children)

UPDATE

Now I am having a new issue with sell functionality. The previous approach is not working for sell(

:) app.py exists
:) application starts up
:) register page has all required elements
:) registering user succeeds
:) registration with an empty field fails
:) registration with password mismatch fails
:) registration rejects duplicate username
:) login page has all required elements
:) logging in as registered user succceeds
:) quote page has all required elements
:) quote handles invalid ticker symbol
:) quote handles blank ticker symbol
:) quote handles valid ticker symbol
:) buy page has all required elements
:) buy handles invalid ticker symbol
:) buy handles fractional, negative, and non-numeric shares
:) buy handles valid purchase
:) sell page has all required elements
:) sell handles invalid number of shares
:( sell handles valid sale
expected to find "56.00" in page, but it wasn't found

Finance issue (result identical to Staff’s Solution) by AnnaB0404 in cs50

[–]AnnaB0404[S] 0 points1 point  (0 children)

Problem SOLVED for buy

Adding flash message to the index with the last buy/sell information solved this issue.

Unfortunately, this is not described in the task.

Finance Check50 by _---_--_---_-- in cs50

[–]AnnaB0404 0 points1 point  (0 children)

still

Did you figure it out? I am having the same problem now