|
@ -445,7 +445,6 @@ def gen_cisla(rnd, rocniky): |
|
|
poradi = str(ci), |
|
|
poradi = str(ci), |
|
|
datum_vydani=vydano, |
|
|
datum_vydani=vydano, |
|
|
verejne_db=True, |
|
|
verejne_db=True, |
|
|
verejna_vysledkovka=True |
|
|
|
|
|
) |
|
|
) |
|
|
node2 = CisloNode.objects.get(cislo = cislo) |
|
|
node2 = CisloNode.objects.get(cislo = cislo) |
|
|
node2.succ = node |
|
|
node2.succ = node |
|
@ -454,7 +453,8 @@ def gen_cisla(rnd, rocniky): |
|
|
deadline = Deadline.objects.create( |
|
|
deadline = Deadline.objects.create( |
|
|
cislo=cislo, |
|
|
cislo=cislo, |
|
|
deadline=deadline, |
|
|
deadline=deadline, |
|
|
typ=Deadline.TYP_CISLA |
|
|
typ=Deadline.TYP_CISLA, |
|
|
|
|
|
verejna_vysledkovka=True, |
|
|
) |
|
|
) |
|
|
deadline.save() |
|
|
deadline.save() |
|
|
node = node2 |
|
|
node = node2 |
|
|