misc: force check-migrations to use en language (#40685)

It prevents having translated messages in migrations.
This commit is contained in:
Benjamin Dauvergne 2023-12-14 02:01:19 +01:00
parent f9d07d749a
commit b080c03f07
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ set -e
CHECK_MIGRATIONS_SETTINGS=`mktemp`
trap "rm -f ${CHECK_MIGRATIONS_SETTINGS}" EXIT
cat <<EOF >${CHECK_MIGRATIONS_SETTINGS}
LANGUAGE_CODE = 'en'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.dummy',