mirror of
https://github.com/ansible/awx.git
synced 2026-06-27 01:18:02 -02:30
feat: Manage Django Settings with Dynaconf
Dynaconf is being added from DAB factory to load Django Settings
This commit is contained in:
committed by
Alan Rominger
parent
ee739b5fd9
commit
0ffe04ed9c
@@ -37,7 +37,7 @@ def get_urlpatterns(prefix=None):
|
||||
re_path(r'^(?!api/).*', include('awx.ui.urls', namespace='ui')),
|
||||
]
|
||||
|
||||
if settings.SETTINGS_MODULE == 'awx.settings.development':
|
||||
if settings.DYNACONF.is_development_mode:
|
||||
try:
|
||||
import debug_toolbar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user