1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 18:22:24 +00:00

Important information are not only displayed to organizers

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-03 23:17:24 +02:00
parent a763abf781
commit eddb741eb7
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -528,6 +528,7 @@ class VolunteerRegistration(Registration):
'content': content, 'content': content,
}) })
for tournament in self.interesting_tournaments:
pools = tournament.pools.filter(juries=self).order_by('round').all() pools = tournament.pools.filter(juries=self).order_by('round').all()
for pool in pools: for pool in pools:
if pool.round == 1 and timezone.now().date() <= tournament.date_start: if pool.round == 1 and timezone.now().date() <= tournament.date_start: