JH Fix výsledkovky
This commit is contained in:
parent
dd0010f7da
commit
91f04723a9
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ def problemy_rocniku(rocnik, jen_verejne=True):
|
|||
|
||||
def problemy_cisla(cislo):
|
||||
""" Vrátí seznam všech problémů s body v daném čísle. """
|
||||
return m.Problem.objects.filter(hodnoceni__in = m.Hodnoceni.objects.filter(cislo_body = cislo)).distinct().select_related('nadproblem').select_related('nadproblem__nadproblem')
|
||||
return m.Problem.objects.filter(hodnoceni__in = m.Hodnoceni.objects.filter(cislo_body = cislo)).distinct().non_polymorphic().select_related('nadproblem').select_related('nadproblem__nadproblem')
|
||||
|
||||
|
||||
def hlavni_problemy_f(problemy=None):
|
||||
|
|
Loading…
Reference in a new issue