1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 22:38:23 +02:00

Display details about tournaments

This commit is contained in:
Yohann D'ANELLO
2021-01-01 12:11:09 +01:00
parent bf6f87ee89
commit 0f65bc4561
9 changed files with 152 additions and 14 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.0.11 on 2021-01-01 10:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('participation', '0003_tournament_max_teams'),
]
operations = [
migrations.AddField(
model_name='tournament',
name='price',
field=models.PositiveSmallIntegerField(default=21, verbose_name='price'),
),
]

View File

@ -0,0 +1,24 @@
# Generated by Django 3.0.11 on 2021-01-01 10:49
from django.db import migrations, models
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('participation', '0004_tournament_price'),
]
operations = [
migrations.AddField(
model_name='tournament',
name='solutions_available_second_phase',
field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='date when the solutions for the second round become available'),
),
migrations.AddField(
model_name='tournament',
name='solutions_draw',
field=models.DateTimeField(default=django.utils.timezone.now, verbose_name='random draw for solutions'),
),
]