From f2365ed93024259698c86e6c76618f9be09f9444 Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Mon, 13 Dec 2021 22:52:44 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99ejmenov=C3=A1no=20aktu=C3=A1ln=C3=AD=20?= =?UTF-8?q?=C4=8D=C3=ADslo,=20aby=20se=20jmenovalo=20aktu=C3=A1ln=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/models/tvorba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/models/tvorba.py b/seminar/models/tvorba.py index 719375ff..e34b7681 100644 --- a/seminar/models/tvorba.py +++ b/seminar/models/tvorba.py @@ -645,7 +645,7 @@ class Nastaveni(SingletonModel): # aktualni_rocnik = models.ForeignKey(Rocnik, verbose_name='aktuální ročník', # null=False, on_delete=models.PROTECT) - aktualni_cislo = models.ForeignKey(Cislo, verbose_name='poslední vydané číslo', + aktualni_cislo = models.ForeignKey(Cislo, verbose_name='Aktuální číslo', null=False, on_delete=models.PROTECT) @property