diff --git a/app/app.py b/app/app.py index 2875171..4a502f6 100644 --- a/app/app.py +++ b/app/app.py @@ -3,6 +3,7 @@ from logging.handlers import TimedRotatingFileHandler from flask import Flask from flask.ext.bootstrap import Bootstrap, StaticCDN from flask.ext.sqlalchemy import SQLAlchemy +from flask_debugtoolbar import DebugToolbarExtension from airbrake import Airbrake, AirbrakeHandler @@ -16,6 +17,8 @@ app.extensions['bootstrap']['cdns']['bootstrap'] = StaticCDN() db = SQLAlchemy(app) +toolbar = DebugToolbarExtension(app) + class PrefixFix(object): def __init__(self, app, script_name): diff --git a/requirements.txt b/requirements.txt index ed260b9..021899d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,7 @@ Flask==0.10.1 Flask-Admin==1.1.0 Flask-Bootstrap==3.3.4.1 +Flask-DebugToolbar==0.10.0 Flask-Login==0.2.11 Flask-Migrate==1.4.0 Flask-OAuthlib==0.9.1