|
|
@ -53,7 +53,7 @@ def pokacej_les(apps, schema_editor): |
|
|
|
cnode = c.cislonode |
|
|
|
|
|
|
|
# Témata a seriály: |
|
|
|
relevantni_temata = Tema.objects.filter(Q(cislo_zadani = c) | Q(cislo_reseni = c)).order_by('kod'): |
|
|
|
relevantni_temata = Tema.objects.filter(Q(cislo_zadani = c) | Q(cislo_reseni = c)).order_by('kod') |
|
|
|
# Téma dáme do prvního čísla, kde se vyskytne |
|
|
|
for t in relevantni_temata: |
|
|
|
tnode = t.temavcislenode |
|
|
|