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

@@ -161,7 +161,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 schema_view
return schema_view