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:
parent
2e613799c9
commit
952315ea4d
@ -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"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user