Secret Key

It saying that I need Secret key, even though I have secret key.

I tried searching for tutorials to help me solve this issue, but I am not able to find. I am learning Flask via MEga Tutoril by Miguel Grinberg and I don't know how to solve this.

You are viewing a single comment. View All

You have to add a secret key to the flask app
Try doing:
app.config[‘SECRET_KEY’] = secret_key


@VulcanWM Yes, but I have created config file and there I have already add Secret Ke, why its not working? In tutorial its working



You haven’t added what it is equal to