From 9bccb9d17db5c88fcfde9bb90037a3f9f3709c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 13 Oct 2022 16:45:44 +0200 Subject: [PATCH] =?UTF-8?q?Migrace=20deadline=5Fbody:=20Warning=20kdy?= =?UTF-8?q?=C5=BE=20beru=20cislo=5Fbody.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/migrations/0104_hodnoceni_deadline_body.py | 1 + 1 file changed, 1 insertion(+) diff --git a/seminar/migrations/0104_hodnoceni_deadline_body.py b/seminar/migrations/0104_hodnoceni_deadline_body.py index baea0557..b9b2938f 100644 --- a/seminar/migrations/0104_hodnoceni_deadline_body.py +++ b/seminar/migrations/0104_hodnoceni_deadline_body.py @@ -43,6 +43,7 @@ def prirad_deadliny(apps, schema_editor): cislo = c.cislo if cislo is None: + log.warning(f"Číslo hodnocení {h.id} se nepodařilo určit exaktním způsobem. Dané hodnocení házím do jeho cislo_body: {h.cislo_body}.") cislo = h.cislo_body if cislo is not None: