[4.6][Backport][Feature] feat: Manage Django Settings with Dynaconf (#6910)

Dynaconf is being added from DAB factory to load Django Settings
This commit is contained in:
Bruno Rocha
2025-04-15 20:17:16 +01:00
committed by GitHub
parent ae0a8a80eb
commit 6690d71357
19 changed files with 375 additions and 293 deletions

View File

@@ -160,7 +160,7 @@ def get_view_description(view, html=False):
def get_default_schema():
if settings.SETTINGS_MODULE == 'awx.settings.development':
if settings.DYNACONF.is_development_mode:
from awx.api.swagger import AutoSchema
return AutoSchema()