From d5388b3c5621b711c1dd9f65da2adeb930ccef9c Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:58:33 -0400 Subject: [PATCH] Remove ui_next static file dir (#6715) UI_NEXT is no longer being served in 4.6 Removing static file dir for ui-next fixes ``` WARNINGS: ?: (staticfiles.W004) The directory '/var/lib/awx/venv/awx/lib64/python3.11/site-packages/awx/ui_next/build' in the STATICFILES_DIRS setting does not exist. CommandError: Inventory with id = 1038181458411569545 cannot be found ``` --- awx/settings/defaults.py | 1 - 1 file changed, 1 deletion(-) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index afb28c7e84..396b7e87de 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -92,7 +92,6 @@ USE_TZ = True STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'ui', 'build', 'static'), - os.path.join(BASE_DIR, 'ui_next', 'build'), os.path.join(BASE_DIR, 'static'), ]