1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-15 12:27:30 +02:00

Compare commits

..

No commits in common. "8aec72d712b68dca31892591b3a5d70d4d0ba0c6" and "62abfa94d63c1ba159e89b066d6ee9ee146766e5" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -1776,7 +1776,7 @@ msgstr "Moyenne"
#: participation/models.py:1320 participation/views.py:1669 #: participation/models.py:1320 participation/views.py:1669
msgid "Coefficient" msgid "Coefficient"
msgstr "Coefficient" msgstr "Coefficien"
#: participation/models.py:1321 participation/views.py:1712 #: participation/models.py:1321 participation/views.py:1712
msgid "Subtotal" msgid "Subtotal"

View File

@ -5,13 +5,11 @@ from pathlib import Path
from django.conf import settings from django.conf import settings
from django.core.management import BaseCommand from django.core.management import BaseCommand
from django.utils.translation import activate
from participation.models import Solution, Tournament from participation.models import Solution, Tournament
class Command(BaseCommand): class Command(BaseCommand):
def handle(self, *args, **kwargs): def handle(self, *args, **kwargs):
activate(settings.PREFERRED_LANGUAGE_CODE)
base_dir = Path(__file__).parent.parent.parent.parent base_dir = Path(__file__).parent.parent.parent.parent
base_dir /= "output" base_dir /= "output"
if not base_dir.is_dir(): if not base_dir.is_dir():