From 958a5f1815ce7ad7d36046beaad44a232560fbe8 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 12 Jul 2022 13:31:38 +0200 Subject: [PATCH] fix unused --- examples/app.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/app.py b/examples/app.py index de4375c5..3a6a25a6 100644 --- a/examples/app.py +++ b/examples/app.py @@ -5,9 +5,9 @@ Use this as a starting point. """ import sentry_sdk from decouple import config -from flask_wtf.csrf import CSRFProtect + +# from flask_wtf.csrf import CSRFProtect from sentry_sdk.integrations.flask import FlaskIntegration -from werkzeug.contrib.profiler import ProfilerMiddleware from ereuse_devicehub.api.views import api from ereuse_devicehub.config import DevicehubConfig @@ -17,6 +17,9 @@ from ereuse_devicehub.labels.views import labels from ereuse_devicehub.views import core from ereuse_devicehub.workbench.views import workbench +# from werkzeug.contrib.profiler import ProfilerMiddleware + + SENTRY_DSN = config('SENTRY_DSN', None) if SENTRY_DSN: sentry_sdk.init(