Issue
I have installed flask-debugtoolbar for better debugging.
Followed the instructions here. I also restarted the server in hope to get it right.
Here is my code.
__init__.py
from flask import Flask
from flask.ext.mail import Mail
from flask_debugtoolbar import DebugToolbarExtension
app = Flask(__name__, static_url_path='')
toolbar = DebugToolbarExtension(app)
Solution
Figured it out.
Added this line,
app.config['SECRET_KEY'] = '<replace with a secret key>'
above
toolbar = DebugToolbarExtension(app)
Just Exactly followed this.
Answered By – Rahul Bali
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0