change contrib for middleware in ProfilerMiddleware
This commit is contained in:
parent
df2dd396ee
commit
f42ccba706
|
@ -17,7 +17,7 @@ from ereuse_devicehub.workbench.views import workbench
|
|||
# from flask_wtf.csrf import CSRFProtect
|
||||
|
||||
|
||||
# from werkzeug.contrib.profiler import ProfilerMiddleware
|
||||
# from werkzeug.middleware.profiler import ProfilerMiddleware
|
||||
|
||||
|
||||
SENTRY_DSN = config('SENTRY_DSN', None)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from ereuse_devicehub.devicehub import Devicehub
|
||||
from werkzeug.contrib.profiler import ProfilerMiddleware
|
||||
from werkzeug.middleware.profiler import ProfilerMiddleware
|
||||
|
||||
from ereuse_devicehub.devicehub import Devicehub
|
||||
|
||||
app = Devicehub(inventory='dbtest')
|
||||
app.config["SQLALCHEMY_RECORD_QUERIES"] = True
|
||||
|
|
Reference in New Issue