mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-01 00:24:29 +01:00 
			
		
		
		
	Noms des fichiers en français
This commit is contained in:
		| @@ -5,11 +5,13 @@ from pathlib import Path | ||||
|  | ||||
| from django.conf import settings | ||||
| from django.core.management import BaseCommand | ||||
| from django.utils.translation import activate | ||||
| from participation.models import Solution, Tournament | ||||
|  | ||||
|  | ||||
| class Command(BaseCommand): | ||||
|     def handle(self, *args, **kwargs): | ||||
|         activate(settings.PREFERRED_LANGUAGE_CODE) | ||||
|         base_dir = Path(__file__).parent.parent.parent.parent | ||||
|         base_dir /= "output" | ||||
|         if not base_dir.is_dir(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user