1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-11-17 22:17:49 +01:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Maxime JUST
7ae98cd64d Add distinction between scientific coach and accompanying coach 2025-11-07 17:24:53 +01:00
3 changed files with 10 additions and 67 deletions

View File

@@ -1,23 +0,0 @@
# Generated by Django 5.2.8 on 2025-11-06 18:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('draw', '0006_alter_round_current_pool'),
]
operations = [
migrations.AlterField(
model_name='teamdraw',
name='accepted',
field=models.PositiveSmallIntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3'), (4, 'Problem #4'), (5, 'Problem #5'), (6, 'Problem #6'), (7, 'Problem #7'), (8, 'Problem #8')], default=None, null=True, verbose_name='accepted problem'),
),
migrations.AlterField(
model_name='teamdraw',
name='purposed',
field=models.PositiveSmallIntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3'), (4, 'Problem #4'), (5, 'Problem #5'), (6, 'Problem #6'), (7, 'Problem #7'), (8, 'Problem #8')], default=None, null=True, verbose_name='purposed problem'),
),
]

View File

@@ -1,34 +0,0 @@
# Generated by Django 5.2.8 on 2025-11-06 18:53
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('participation', '0023_tournament_unified_registration'),
]
operations = [
migrations.AlterField(
model_name='passage',
name='solution_number',
field=models.PositiveSmallIntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3'), (4, 'Problem #4'), (5, 'Problem #5'), (6, 'Problem #6'), (7, 'Problem #7'), (8, 'Problem #8')], verbose_name='reported solution'),
),
migrations.AlterField(
model_name='pool',
name='round',
field=models.PositiveSmallIntegerField(choices=[(1, 'Round 1'), (2, 'Round 2')], verbose_name='round'),
),
migrations.AlterField(
model_name='solution',
name='problem',
field=models.PositiveSmallIntegerField(choices=[(1, 'Problem #1'), (2, 'Problem #2'), (3, 'Problem #3'), (4, 'Problem #4'), (5, 'Problem #5'), (6, 'Problem #6'), (7, 'Problem #7'), (8, 'Problem #8')], verbose_name='problem'),
),
migrations.AlterField(
model_name='team',
name='trigram',
field=models.CharField(help_text='The code must be composed of 3 uppercase letters.', max_length=4, unique=True, validators=[django.core.validators.RegexValidator('^[A-Z]{3}[A-Z]*$'), django.core.validators.RegexValidator('^(?!BIT$|CNO$|CRO$|CUL$|FTG$|FCK$|FUC$|FUK$|FYS$|HIV$|IST$|MST$|KKK$|KYS$|SEX$)', message='This team code is forbidden.')], verbose_name='code'),
),
]

View File

@@ -385,19 +385,19 @@ if TFJM_APP == "TFJM":
RULES_LINK = "https://tfjm.org/reglement" RULES_LINK = "https://tfjm.org/reglement"
REGISTRATION_DATES = dict( REGISTRATION_DATES = dict(
open=datetime.fromisoformat("2025-11-12T00:00:00+0100"), open=datetime.fromisoformat("2025-01-15T12:00:00+0100"),
close=datetime.fromisoformat("2026-01-08T22:00:00+0100"), close=datetime.fromisoformat("2025-03-02T22:00:00+0100"),
) )
PROBLEMS = [ PROBLEMS = [
"Guerre à l'apéro", "Une bonne humeur contagieuse",
"Jeu du moulin", "Drôles de toboggans",
"Poison dans les boissons", "Plats à tarte gradués",
"Colliers de perles", "Transformation de papillons",
"Parcours d'escalade", "Gerrymandering",
"Malaise dans la salle d'attente", "Le cauchemar de la ligne 20-25",
"Double et chiffres", "Taxes routières",
"Tri trop rapide", "Points colorés sur un cercle",
] ]
elif TFJM_APP == "ETEAM": elif TFJM_APP == "ETEAM":
PREFERRED_LANGUAGE_CODE = 'en' PREFERRED_LANGUAGE_CODE = 'en'