From 8f2aa72f6d64f8a7f338da0891bae7d3ba3f2795 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Mon, 22 May 2023 22:21:42 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20zapomenut=C3=A9=20fieldy=20v=20tabulce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TODO: rebase squash --- odevzdavatko/views.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/odevzdavatko/views.py b/odevzdavatko/views.py index e9bedcbd..d5c4f3a1 100644 --- a/odevzdavatko/views.py +++ b/odevzdavatko/views.py @@ -131,9 +131,6 @@ class TabulkaOdevzdanychReseniView(ListView): tabulka[problem][resitel] = [reseni] else: tabulka[problem][resitel].append(reseni) - # Pro jednoduchost template si ještě poznamenáme ID problému a řešitele - tabulka[problem][resitel].problem_id = problem.id - tabulka[problem][resitel].resitel_id = resitel.id for hodnoceni in self.get_queryset(): for resitel in hodnoceni.reseni.resitele.all():