From 7fb6c3ff3c827c6d651a2d78874ec444d0bbe6a1 Mon Sep 17 00:00:00 2001 From: Laurent Date: Mon, 8 Jul 2024 15:12:31 +0200 Subject: [PATCH] Fix matches showing twice --- tournaments/models/round.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tournaments/models/round.py b/tournaments/models/round.py index 933555e..c2c6b33 100644 --- a/tournaments/models/round.py +++ b/tournaments/models/round.py @@ -51,7 +51,6 @@ class Round(models.Model): def all_matches(self, hide_empty_matches): matches = [] - matches.extend(self.match_set.all()) matches.extend(self.get_matches_recursive(hide_empty_matches)) return matches