From c8dadcd3649469ddfcc6ea3d272f969d71067d39 Mon Sep 17 00:00:00 2001 From: Mee Date: Fri, 17 May 2019 00:44:59 +0200 Subject: [PATCH] Migr 0052 fix prezdivka --- seminar/migrations/0052_user_to_organizator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/migrations/0052_user_to_organizator.py b/seminar/migrations/0052_user_to_organizator.py index 8bdf9ef0..4ebcd1d0 100644 --- a/seminar/migrations/0052_user_to_organizator.py +++ b/seminar/migrations/0052_user_to_organizator.py @@ -20,7 +20,7 @@ def spoj_k_organizatorum_osoby(apps, scema_editor): org.osoba = osoba # Přesun informací z organizátora do jeho osoby - osoba.prezdivka = org.prezdivka + osoba.prezdivka = org.prezdivka if org.prezdivka is not None else '' osoba.foto = org.foto # Všechno uložit