1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-03 14:42:49 +02:00

Draw dices

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2023-03-23 16:17:29 +01:00
parent eb8ad4e771
commit 5399a875c6
6 changed files with 418 additions and 30 deletions

View File

@ -0,0 +1,24 @@
# Generated by Django 4.1.7 on 2023-03-22 21:39
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
("draw", "0002_pool_size_alter_pool_letter_alter_round_number_and_more"),
]
operations = [
migrations.AddField(
model_name="teamdraw",
name="round",
field=models.ForeignKey(
default=1,
on_delete=django.db.models.deletion.CASCADE,
to="draw.round",
verbose_name="round",
),
preserve_default=False,
),
]

View File

@ -0,0 +1,36 @@
# Generated by Django 4.1.7 on 2023-03-22 23:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("draw", "0003_teamdraw_round"),
]
operations = [
migrations.RemoveField(
model_name="teamdraw",
name="index",
),
migrations.AddField(
model_name="teamdraw",
name="choose_index",
field=models.PositiveSmallIntegerField(
choices=[(1, 1), (2, 2), (3, 3), (4, 4)],
default=None,
null=True,
verbose_name="choose index",
),
),
migrations.AddField(
model_name="teamdraw",
name="passage_index",
field=models.PositiveSmallIntegerField(
choices=[(1, 1), (2, 2), (3, 3), (4, 4)],
default=None,
null=True,
verbose_name="passage index",
),
),
]