R
8

Spent 2 weeks building a login page that kept breaking... turned out it was one missing semicolon

I'm about 3 months into learning Python and web frameworks, so I decided to build a simple login page for a practice project last week. I followed a tutorial step by step, but the form kept throwing a 500 error every time I hit submit. After 2 days of staring at the code and checking forums, I finally noticed I forgot a semicolon at the end of a line in my database connection string. Has anyone else spent way too long hunting down a tiny typo like that?
2 comments

Log in to join the discussion

Log In
2 Comments
nina_butler
Two whole weeks for ONE missing semicolon? That seems a bit dramatic tbh.
7
cole_walker26
You don't need a semicolon in Python though, that's more of a JavaScript thing.
3