From 952315ea4dcd6844be1aed56d3e506e1d543cee2 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Mon, 5 May 2025 10:28:22 +0200 Subject: [PATCH] Correction publication des notes pour le dernier tour --- participation/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/participation/views.py b/participation/views.py index b266154..92eaef9 100644 --- a/participation/views.py +++ b/participation/views.py @@ -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"])