mirror of
https://github.com/ansible/awx.git
synced 2026-02-19 12:10:06 -03:30
Add debug_toolbar.middleware.DebugToolbarMiddleware to MIDDLEWARE classes in development.py
This commit is contained in:
@@ -251,7 +251,7 @@ TEMPLATES = [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES = ( # NOQA
|
MIDDLEWARE = ( # NOQA
|
||||||
'awx.main.middleware.TimingMiddleware',
|
'awx.main.middleware.TimingMiddleware',
|
||||||
'awx.main.middleware.MigrationRanCheckMiddleware',
|
'awx.main.middleware.MigrationRanCheckMiddleware',
|
||||||
'corsheaders.middleware.CorsMiddleware',
|
'corsheaders.middleware.CorsMiddleware',
|
||||||
@@ -628,7 +628,7 @@ AWX_REBUILD_SMART_MEMBERSHIP = False
|
|||||||
ALLOW_JINJA_IN_EXTRA_VARS = 'template'
|
ALLOW_JINJA_IN_EXTRA_VARS = 'template'
|
||||||
|
|
||||||
# Enable dynamically pulling roles from a requirement.yml file
|
# 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.
|
# Note: This setting may be overridden by database settings.
|
||||||
AWX_ROLES_ENABLED = True
|
AWX_ROLES_ENABLED = True
|
||||||
|
|
||||||
|
|||||||
@@ -162,3 +162,9 @@ except Exception:
|
|||||||
os.environ['SDB_NOTIFY_HOST'] = os.popen('ip route').read().split(' ')[2]
|
os.environ['SDB_NOTIFY_HOST'] = os.popen('ip route').read().split(' ')[2]
|
||||||
|
|
||||||
WEBSOCKET_ORIGIN_WHITELIST = ['https://localhost:8043', 'https://localhost:3000']
|
WEBSOCKET_ORIGIN_WHITELIST = ['https://localhost:8043', 'https://localhost:3000']
|
||||||
|
|
||||||
|
MIDDLEWARE = [
|
||||||
|
# ...
|
||||||
|
'debug_toolbar.middleware.DebugToolbarMiddleware',
|
||||||
|
# ...
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user