Logger pro views_all

This commit is contained in:
MaM Web user 2021-09-04 22:07:13 +02:00
parent d2afe5be0c
commit 80382309bf

View file

@ -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)