This commit is contained in:
Pavel "LEdoian" Turinsky 2019-05-30 00:46:35 +02:00
parent 83014d631e
commit c1bd65fe68

View file

@ -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