mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-13 17:47:36 +02:00
Compare commits
2 Commits
62abfa94d6
...
8aec72d712
Author | SHA1 | Date | |
---|---|---|---|
|
8aec72d712 | ||
|
6a521b6121 |
@ -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 "Coefficien"
|
msgstr "Coefficient"
|
||||||
|
|
||||||
#: participation/models.py:1321 participation/views.py:1712
|
#: participation/models.py:1321 participation/views.py:1712
|
||||||
msgid "Subtotal"
|
msgid "Subtotal"
|
||||||
|
@ -5,11 +5,13 @@ 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():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user