mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
Add debug_toolbar.middleware.DebugToolbarMiddleware to MIDDLEWARE classes in development.py
This commit is contained in:
parent
6bc1856658
commit
97dc77ea63
@ -251,7 +251,7 @@ TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = ( # NOQA
|
||||
MIDDLEWARE = ( # NOQA
|
||||
'awx.main.middleware.TimingMiddleware',
|
||||
'awx.main.middleware.MigrationRanCheckMiddleware',
|
||||
'corsheaders.middleware.CorsMiddleware',
|
||||
@ -628,7 +628,7 @@ AWX_REBUILD_SMART_MEMBERSHIP = False
|
||||
ALLOW_JINJA_IN_EXTRA_VARS = 'template'
|
||||
|
||||
# Enable dynamically pulling roles from a requirement.yml file
|
||||
# when updating SCM projects
|
||||
# when updating SCM projects
|
||||
# Note: This setting may be overridden by database settings.
|
||||
AWX_ROLES_ENABLED = True
|
||||
|
||||
|
||||
@ -162,3 +162,9 @@ except Exception:
|
||||
os.environ['SDB_NOTIFY_HOST'] = os.popen('ip route').read().split(' ')[2]
|
||||
|
||||
WEBSOCKET_ORIGIN_WHITELIST = ['https://localhost:8043', 'https://localhost:3000']
|
||||
|
||||
MIDDLEWARE = [
|
||||
# ...
|
||||
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||
# ...
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user