mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-11-17 14:17:51 +01:00
Compare commits
3 Commits
7ae98cd64d
...
c8eefb0991
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8eefb0991 | ||
|
|
1bea4d0188 | ||
|
|
b0be8f5525 |
@@ -0,0 +1,23 @@
|
|||||||
|
# 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'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
# 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'),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -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-01-15T12:00:00+0100"),
|
open=datetime.fromisoformat("2025-11-12T00:00:00+0100"),
|
||||||
close=datetime.fromisoformat("2025-03-02T22:00:00+0100"),
|
close=datetime.fromisoformat("2026-01-08T22:00:00+0100"),
|
||||||
)
|
)
|
||||||
|
|
||||||
PROBLEMS = [
|
PROBLEMS = [
|
||||||
"Une bonne humeur contagieuse",
|
"Guerre à l'apéro",
|
||||||
"Drôles de toboggans",
|
"Jeu du moulin",
|
||||||
"Plats à tarte gradués",
|
"Poison dans les boissons",
|
||||||
"Transformation de papillons",
|
"Colliers de perles",
|
||||||
"Gerrymandering",
|
"Parcours d'escalade",
|
||||||
"Le cauchemar de la ligne 20-25",
|
"Malaise dans la salle d'attente",
|
||||||
"Taxes routières",
|
"Double et chiffres",
|
||||||
"Points colorés sur un cercle",
|
"Tri trop rapide",
|
||||||
]
|
]
|
||||||
elif TFJM_APP == "ETEAM":
|
elif TFJM_APP == "ETEAM":
|
||||||
PREFERRED_LANGUAGE_CODE = 'en'
|
PREFERRED_LANGUAGE_CODE = 'en'
|
||||||
|
|||||||
Reference in New Issue
Block a user