Tituly musí být i s neveřejnými.
This commit is contained in:
parent
353363af8d
commit
417f786bef
1 changed files with 2 additions and 2 deletions
|
@ -649,9 +649,9 @@ def TitulyView(request, rocnik, cislo):
|
|||
# pokud ano, vrátí se jako true
|
||||
if cislo is not None:
|
||||
cislo_obj = Cislo.objects.get(rocnik=rocnik_obj, poradi=cislo)
|
||||
slovnik_s_body = body_resitelu(do=cislo_obj.zlomovy_deadline_pro_papirove_cislo())
|
||||
slovnik_s_body = body_resitelu(do=cislo_obj.zlomovy_deadline_pro_papirove_cislo(), jen_verejne=False)
|
||||
else:
|
||||
slovnik_s_body = body_resitelu(do=Deadline.objects.filter(cislo__rocnik=rocnik_obj).last())
|
||||
slovnik_s_body = body_resitelu(do=Deadline.objects.filter(cislo__rocnik=rocnik_obj).last(), jen_verejne=False)
|
||||
|
||||
for resitel in resitele:
|
||||
resitel.titul = resitel.get_titul(slovnik_s_body[resitel.id])
|
||||
|
|
Loading…
Reference in a new issue