1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-05-07 22:11:37 +00:00

Correction publication des notes pour le dernier tour

This commit is contained in:
Emmy D'Anello 2025-05-05 10:28:22 +02:00
parent 2e613799c9
commit 952315ea4d
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -752,7 +752,7 @@ class TournamentPublishNotesView(VolunteerMixin, SingleObjectMixin, RedirectView
return super().dispatch(request, *args, **kwargs)
def get(self, request, *args, **kwargs):
if int(kwargs["round"]) not in range(1, settings.NB_ROUNDS):
if int(kwargs["round"]) not in range(1, settings.NB_ROUNDS + 1):
raise Http404
tournament = Tournament.objects.get(pk=kwargs["pk"])