mirror of
https://github.com/ansible/awx.git
synced 2026-08-07 21:31:45 -02:30
[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:
@@ -38,7 +38,7 @@ def get_urlpatterns(prefix=None):
|
||||
re_path(r'^login/', handle_login_redirect),
|
||||
]
|
||||
|
||||
if settings.SETTINGS_MODULE == 'awx.settings.development':
|
||||
if settings.DYNACONF.is_development_mode:
|
||||
try:
|
||||
import debug_toolbar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user