|
@ -168,8 +168,6 @@ def tema_to_Tema(apps, schema_editor): |
|
|
TextNode = apps.get_model('seminar', 'TextNode') |
|
|
TextNode = apps.get_model('seminar', 'TextNode') |
|
|
|
|
|
|
|
|
temata = Problem.objects.filter(Q(typ = 'tema') | Q(typ='serial')) |
|
|
temata = Problem.objects.filter(Q(typ = 'tema') | Q(typ='serial')) |
|
|
#temata = Problem.objects.filter(id=635) |
|
|
|
|
|
#temata = Problem.objects.filter(cislo_zadani_old__id=87) |
|
|
|
|
|
for t in temata: |
|
|
for t in temata: |
|
|
# Vymyslíme správně ročník: |
|
|
# Vymyslíme správně ročník: |
|
|
if t.cislo_zadani_old is None and t.cislo_reseni_old is None: |
|
|
if t.cislo_zadani_old is None and t.cislo_reseni_old is None: |
|
|