mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-06-21 23:58:24 +02:00
Display details about tournaments
This commit is contained in:
18
apps/participation/migrations/0004_tournament_price.py
Normal file
18
apps/participation/migrations/0004_tournament_price.py
Normal 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'),
|
||||
),
|
||||
]
|
24
apps/participation/migrations/0005_auto_20210101_1149.py
Normal file
24
apps/participation/migrations/0005_auto_20210101_1149.py
Normal 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'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user