remove comments

This commit is contained in:
Hubert Jankowski 2022-06-05 10:28:55 +02:00
parent 0ee61fdd66
commit a184692be5

View File

@ -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)