disabled redirect interception for debug_toolbar
This commit is contained in:
parent
b7baad340a
commit
7324d9c230
@ -34,6 +34,7 @@ def create_app():
|
||||
|
||||
### DEBUG
|
||||
toolbar = DebugToolbarExtension(app)
|
||||
app.config['DEBUG_TB_INTERCEPT_REDIRECTS'] = False
|
||||
app.config["SQLALCHEMY_ECHO"] = True
|
||||
app.config['SQLALCHEMY_RECORD_QUERIES'] = os.getenv("SQLALCHEMY_RECORD_QUERIES")
|
||||
print(f"Current Environment: " + app.config['ENVIRONMENT'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user