realpython / book2-exercises

Book 2 -- Exercises for the book
168 stars 203 forks source link

missing line of code? #60

Closed Laukess closed 7 years ago

Laukess commented 8 years ago

on page 96-97 you write the route for '/'.

you make a variable called 'error' and set it to None. you check the credentials and if they aren't correct you change the error variable to a string "Invalid Credentials. Please try again."

If I'm not mistaken, you never actually use or flash the error variable.

later on in the route for logout, you write flash('You were logged out') [not sure if this is relevant but thought i would add it anyway.]

mjhea0 commented 8 years ago

Which chapter is that in? @Laukess

Laukess commented 8 years ago

I'm on my laptop at the moment, but i think it's chapter 7.

mjhea0 commented 7 years ago

Updated in v 2.0 of the courses. Coming week of 12/19/2016. https://github.com/realpython/about/blob/master/changelog.csv