From 1ed7a50755aeb5f11144a84e33c665fa6bcf84be Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Tue, 23 Aug 2022 12:39:54 -0400 Subject: [PATCH] Fix STATIC_ROOT in defaults Reasoning: - This is breaking the UI in official image builds of devel - This is always being overridden in our packaging - PROJECTS_ROOT and JOBOUTPUT_ROOT also hardcode /var/lib/awx --- awx/settings/defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index 61d0d2921d53..2df7f8dc6978 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -105,7 +105,7 @@ def IS_TESTING(argv=None): # Absolute filesystem path to the directory where static file are collected via # the collectstatic command. -STATIC_ROOT = os.path.join(BASE_DIR, 'public', 'static') +STATIC_ROOT = '/var/lib/awx/public/static' # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/dev/howto/static-files/