From fa18f1b5e78ec4bca1431f2f3aea7aeb501b7abb Mon Sep 17 00:00:00 2001 From: "Pavel Turinsky (DebianVM @ Zr)" Date: Tue, 8 Jun 2021 22:25:39 +0000 Subject: [PATCH] Chybejici problem_ptr u migrace uloh --- seminar/migrations/0058_problem_to_uloha_tema_clanek.py | 1 + 1 file changed, 1 insertion(+) diff --git a/seminar/migrations/0058_problem_to_uloha_tema_clanek.py b/seminar/migrations/0058_problem_to_uloha_tema_clanek.py index ce84e542..dbab46ad 100644 --- a/seminar/migrations/0058_problem_to_uloha_tema_clanek.py +++ b/seminar/migrations/0058_problem_to_uloha_tema_clanek.py @@ -52,6 +52,7 @@ def uloha_to_Uloha(apps,schema_editor): for uold in ulohy: unew = Uloha.objects.create( # Zakomentované fieldy by se už měly nacházet v příslušném problému + problem_ptr = uold, nazev = uold.nazev, stav = uold.stav, zamereni = uold.zamereni,