I´ve been struggling to complete the Pset9 - Finance, version from 2021. After reading multiple threads I decided to post here the issue, looking for some guidance so I can move forward in the course.
Application.py is doing what the problem briefing required, and all tests were passed except for this one, check50 is expecting a status code 200 but I send a 400.
[![All tests were passed except this one]]
Some areas of thought and considerations:
- Registration works as expected. I am able to register new users, and when the same username tries to register I show a 400 error.
- Index function is completed, and fully functional showing all required data.
- No script in Register.html to check username when pressing the submit button. I have been unable to write the right script. Not sure if this is something CS50 is expecting after all, but happy to hear anyone who has passed this test.
I would really appreciate it if someone can take a look at the code below, and let me know if I am doing something wrong or just point me in the right direction. Thanks in advance!