Odstreny nadbytecne operace.
This commit is contained in:
parent
c83e355efd
commit
dacb0fa183
1 changed files with 0 additions and 2 deletions
|
@ -391,8 +391,6 @@ def TitulyView(request, rocnik, cislo):
|
||||||
cislo_obj = Cislo.objects.filter(rocnik = rocnik_obj, cislo = cislo).first()
|
cislo_obj = Cislo.objects.filter(rocnik = rocnik_obj, cislo = cislo).first()
|
||||||
|
|
||||||
for resitel in resitele:
|
for resitel in resitele:
|
||||||
rocnik_obj = Rocnik.objects.filter(rocnik = rocnik)
|
|
||||||
cislo_obj = Cislo.objects.filter(rocnik = rocnik_obj, cislo = cislo).first()
|
|
||||||
vys = VysledkyKCisluOdjakziva.objects.filter(resitel = resitel, cislo = cislo_obj).first()
|
vys = VysledkyKCisluOdjakziva.objects.filter(resitel = resitel, cislo = cislo_obj).first()
|
||||||
if vys == None:
|
if vys == None:
|
||||||
body = 0
|
body = 0
|
||||||
|
|
Loading…
Reference in a new issue