Browse Source

Chybejici problem_ptr u migrace uloh

middleware_test
Pavel Turinsky (DebianVM @ Zr) 4 years ago
parent
commit
fa18f1b5e7
  1. 1
      seminar/migrations/0058_problem_to_uloha_tema_clanek.py

1
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,

Loading…
Cancel
Save