1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-24 08:28:49 +02:00

Update repartition for 5-teams pools

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-03-24 20:41:37 +01:00
parent bee04b0522
commit e9ae1fcb60
2 changed files with 9 additions and 9 deletions

View File

@ -376,11 +376,11 @@ class Pool(models.Model):
]
elif self.size == 5:
table = [
[0, 2, 3],
[1, 3, 4],
[2, 0, 1],
[3, 4, 0],
[4, 1, 2],
[0, 3, 2],
[1, 4, 3],
[2, 0, 4],
[3, 1, 0],
[4, 2, 1],
]
for i, line in enumerate(table):