feat: Manage Django Settings with Dynaconf

Dynaconf is being added from DAB factory to load Django Settings
This commit is contained in:
Bruno Rocha
2024-12-11 20:28:07 +00:00
committed by Alan Rominger
parent ee739b5fd9
commit 0ffe04ed9c
23 changed files with 405 additions and 297 deletions

View File

@@ -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