change debug in app

This commit is contained in:
Cayo Puigdefabregas 2022-07-12 11:39:27 +02:00
parent 9936a89171
commit 963f42b248
2 changed files with 6 additions and 5 deletions

View File

@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
ml).
## testing
- [added] #312 Placeholder: new, edit, update. (manually and with excel).
## [2.3.0] - 2022-07-12
- [added] #281 Add selenium test.

View File

@ -41,10 +41,10 @@ app.register_blueprint(workbench)
# configure & enable CSRF of Flask-WTF
# NOTE: enable by blueprint to exclude API views
# TODO(@slamora: enable by default & exclude API views when decouple of Teal is completed
csrf = CSRFProtect(app)
# csrf = CSRFProtect(app)
# csrf.protect(core)
# csrf.protect(devices)
app.config["SQLALCHEMY_RECORD_QUERIES"] = True
app.config['PROFILE'] = True
app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions=[30])
app.run(debug=True)
# app.config["SQLALCHEMY_RECORD_QUERIES"] = True
# app.config['PROFILE'] = True
# app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions=[30])
# app.run(debug=True)