techwithtim / Flask-Web-App-Tutorial

Code for the note storing flask web app made during a YouTube video.
922 stars 1.02k forks source link

base.html #75

Open garciamilord opened 2 years ago

garciamilord commented 2 years ago

I have an issue with the flash error message not showing in the code as I follow the tutorial any help or tips with that problem

LyasAll commented 1 year ago

I received a "RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret." I found out it has something to do with sessions in flask. Although, I was following the tutorial and just added the flash messages with if statements. I was ready to check and then I got this error. I found that you should not let chrome auto fill the fields. When I made up some values for the Sign Up page myself, it worked.