Flask-Web-App-Tutorial icon indicating copy to clipboard operation
Flask-Web-App-Tutorial copied to clipboard

base.html

Open garciamilord opened this issue 2 years ago • 1 comments

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

garciamilord avatar Aug 23 '22 17:08 garciamilord

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.

LyasAll avatar Jan 29 '23 18:01 LyasAll