From 1855eac801678cf9f67679b6c464b194e211a412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=26M=20testovac=C3=AD=20u=C5=BEivatel=20na=20Pavlov=C4=9B?= =?UTF-8?q?=20notebooku?= Date: Wed, 17 Jun 2020 18:52:34 +0000 Subject: [PATCH] FIXME --- seminar/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/seminar/models.py b/seminar/models.py index c53c7048..63d4a7b1 100644 --- a/seminar/models.py +++ b/seminar/models.py @@ -733,6 +733,7 @@ class Problem(SeminarModelBase,PolymorphicModel): # FIXME: Tohle se liší podle typu problému, má se udělat polymorfně. # Zatím je tu jen dummy fail-safe default: nic není veřejné. return False + # FIXME: Tohle je blbost return (self.cislo_zadani and self.cislo_zadani.verejne()) verejne.boolean = True