From a184692be5084a23947a97adce0c5874b4615729 Mon Sep 17 00:00:00 2001 From: Hubert Jankowski Date: Sun, 5 Jun 2022 10:28:55 +0200 Subject: [PATCH] remove comments --- trials/views.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/trials/views.py b/trials/views.py index 3e7c235..6ca956a 100644 --- a/trials/views.py +++ b/trials/views.py @@ -623,14 +623,6 @@ class TournamentClassificationView(TemplateView): name = request.POST["name"] context["tournament_names"] = self.get_queryset().values_list("tournament__name", flat=True).order_by("tournament__name").distinct() context["final_tournaments"] = TournamentClassification.objects.filter(tournament__name=name).values("tournament__name","score", "date", "user__email").order_by("-score", "date") - # for tc in tournament_classification: - # final_tournaments.append({ - # "name": tc.tournament.name, - # "user": tc.user, - # "date": tc.date - # }) - # import pdb; - # pdb.set_trace() return render(request, 'tournament_classification.html', context)