fix unused
This commit is contained in:
parent
fb31ce69bc
commit
958a5f1815
|
@ -5,9 +5,9 @@ Use this as a starting point.
|
||||||
"""
|
"""
|
||||||
import sentry_sdk
|
import sentry_sdk
|
||||||
from decouple import config
|
from decouple import config
|
||||||
from flask_wtf.csrf import CSRFProtect
|
|
||||||
|
# from flask_wtf.csrf import CSRFProtect
|
||||||
from sentry_sdk.integrations.flask import FlaskIntegration
|
from sentry_sdk.integrations.flask import FlaskIntegration
|
||||||
from werkzeug.contrib.profiler import ProfilerMiddleware
|
|
||||||
|
|
||||||
from ereuse_devicehub.api.views import api
|
from ereuse_devicehub.api.views import api
|
||||||
from ereuse_devicehub.config import DevicehubConfig
|
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.views import core
|
||||||
from ereuse_devicehub.workbench.views import workbench
|
from ereuse_devicehub.workbench.views import workbench
|
||||||
|
|
||||||
|
# from werkzeug.contrib.profiler import ProfilerMiddleware
|
||||||
|
|
||||||
|
|
||||||
SENTRY_DSN = config('SENTRY_DSN', None)
|
SENTRY_DSN = config('SENTRY_DSN', None)
|
||||||
if SENTRY_DSN:
|
if SENTRY_DSN:
|
||||||
sentry_sdk.init(
|
sentry_sdk.init(
|
||||||
|
|
Reference in a new issue