From 8599978ebcfacd459b29a0a841c2c1c0591b5e1a Mon Sep 17 00:00:00 2001 From: Omar Al-Ithawi Date: Wed, 28 Feb 2024 20:08:06 +0300 Subject: [PATCH] feat: fix pull_translations for production deployment Makefile paver usage replaced with manage.py. This avoids running the production-unsuitable `pavelib.prereqs.install_prereqs` step during deployments. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 055923d1afcd..1012e558a7d9 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,8 @@ else atlas pull $(ATLAS_OPTIONS) translations/edx-platform/conf/locale:conf/locale i18n_tool generate endif - paver i18n_compilejs + python manage.py lms compilejsi18n + python manage.py cms compilejsi18n detect_changed_source_translations: ## check if translation files are up-to-date