Merge "devstack: Fix manage.py execution with GLOBAL_VENV" into stable/2024.1

This commit is contained in:
Zuul 2024-11-14 06:12:47 +00:00 committed by Gerrit Code Review
commit f001824e1f

View File

@ -131,7 +131,7 @@ function configure_designate {
function configure_designatedashboard {
# Compile message catalogs
if [ -d ${DESIGNATEDASHBOARD_DIR}/designatedashboard/locale ]; then
(cd ${DESIGNATEDASHBOARD_DIR}/designatedashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
(cd ${DESIGNATEDASHBOARD_DIR}/designatedashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages)
fi
}