mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 04:22:14 +01:00 
			
		
		
		
	Split 5-teams pols in two pools for each room
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -0,0 +1,31 @@
 | 
			
		||||
# Generated by Django 5.0.3 on 2024-04-17 20:50
 | 
			
		||||
 | 
			
		||||
from django.db import migrations, models
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Migration(migrations.Migration):
 | 
			
		||||
 | 
			
		||||
    dependencies = [
 | 
			
		||||
        ("participation", "0012_participation_mention_participation_mention_final"),
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
    operations = [
 | 
			
		||||
        migrations.AlterModelOptions(
 | 
			
		||||
            name="pool",
 | 
			
		||||
            options={
 | 
			
		||||
                "ordering": ("round", "letter", "room"),
 | 
			
		||||
                "verbose_name": "pool",
 | 
			
		||||
                "verbose_name_plural": "pools",
 | 
			
		||||
            },
 | 
			
		||||
        ),
 | 
			
		||||
        migrations.AddField(
 | 
			
		||||
            model_name="pool",
 | 
			
		||||
            name="room",
 | 
			
		||||
            field=models.PositiveSmallIntegerField(
 | 
			
		||||
                choices=[(1, "Room 1"), (2, "Room 2")],
 | 
			
		||||
                default=1,
 | 
			
		||||
                help_text="For 5-teams pools only",
 | 
			
		||||
                verbose_name="room",
 | 
			
		||||
            ),
 | 
			
		||||
        ),
 | 
			
		||||
    ]
 | 
			
		||||
		Reference in New Issue
	
	Block a user