mirror of
https://github.com/ansible/awx.git
synced 2026-02-21 13:10:11 -03: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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user