From 80382309bf005d8f0e14ec559b4a8b13efe7178f Mon Sep 17 00:00:00 2001 From: MaM Web user Date: Sat, 4 Sep 2021 22:07:13 +0200 Subject: [PATCH] Logger pro views_all --- seminar/views/views_all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 30a7f681..1331c11a 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -64,6 +64,8 @@ from seminar.utils import aktivniResitele, resi_v_rocniku, problemy_rocniku, cis #def temata_v_rocniku(rocnik): # return Problem.objects.filter(typ=Problem.TYP_TEMA, rocnik=rocnik) +logger = logging.getLogger(__name__) + def get_problemy_k_tematu(tema): return Problem.objects.filter(nadproblem = tema)