|
@ -131,9 +131,6 @@ class TabulkaOdevzdanychReseniView(ListView): |
|
|
tabulka[problem][resitel] = [reseni] |
|
|
tabulka[problem][resitel] = [reseni] |
|
|
else: |
|
|
else: |
|
|
tabulka[problem][resitel].append(reseni) |
|
|
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 hodnoceni in self.get_queryset(): |
|
|
for resitel in hodnoceni.reseni.resitele.all(): |
|
|
for resitel in hodnoceni.reseni.resitele.all(): |
|
|