remove toolbar

This commit is contained in:
Jean-Marie Place 2021-12-11 16:07:25 +01:00
parent 2920c6f131
commit 23f1dc4ed2

View File

@ -33,7 +33,6 @@ from app.scodoc.sco_exceptions import (
)
from config import DevConfig
import sco_version
from flask_debugtoolbar import DebugToolbarExtension
db = SQLAlchemy()
migrate = Migrate(compare_type=True)
@ -188,7 +187,6 @@ def create_app(config_class=DevConfig):
moment.init_app(app)
cache.init_app(app)
sco_cache.CACHE = cache
toolbar = DebugToolbarExtension(app)
app.register_error_handler(ScoGenError, handle_sco_value_error)
app.register_error_handler(ScoValueError, handle_sco_value_error)