Browse Source

Odstreny nadbytecne operace.

remotes/origin/imagekit
parent
commit
dacb0fa183
  1. 2
      seminar/views.py

2
seminar/views.py

@ -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…
Cancel
Save