From 963f42b24854dd49b1460ad11b631a2a3130debc Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 12 Jul 2022 11:39:27 +0200 Subject: [PATCH] change debug in app --- CHANGELOG.md | 1 + examples/app.py | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0fb8c4e..218a97ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/examples/app.py b/examples/app.py index 690ff9f9..de4375c5 100644 --- a/examples/app.py +++ b/examples/app.py @@ -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)