|
@ -147,7 +147,7 @@ class TabulkaOdevzdanychReseniView(ListView): |
|
|
resitele_do_tabulky: list[m.Resitel] = [] |
|
|
resitele_do_tabulky: list[m.Resitel] = [] |
|
|
for resitel in self.resitele: |
|
|
for resitel in self.resitele: |
|
|
dostal_body = False |
|
|
dostal_body = False |
|
|
resiteluv_radek: list[tuple[Decimal,list[tuple[m.Resitel, m.Hodnoceni]]]] = [] # podle pořadí v self.problemy |
|
|
resiteluv_radek: list[tuple[Decimal,list[tuple[m.Reseni, m.Hodnoceni]]]] = [] # podle pořadí v self.problemy |
|
|
for problem in self.problemy: |
|
|
for problem in self.problemy: |
|
|
if problem in tabulka and resitel in tabulka[problem]: |
|
|
if problem in tabulka and resitel in tabulka[problem]: |
|
|
resiteluv_radek.append((soucty[problem][resitel], tabulka[problem][resitel])) |
|
|
resiteluv_radek.append((soucty[problem][resitel], tabulka[problem][resitel])) |
|
|