Nepoužitý logger v seminar.views

This commit is contained in:
Jonas Havelka 2023-08-10 14:31:19 +02:00
parent 1f9966c51f
commit f3c38f1f02

View file

@ -31,7 +31,6 @@ import os
import os.path as op import os.path as op
from django.conf import settings from django.conf import settings
import unicodedata import unicodedata
import logging
import time import time
from collections.abc import Sequence from collections.abc import Sequence
@ -47,8 +46,6 @@ from personalni.utils import aktivniResitele
#def temata_v_rocniku(rocnik): #def temata_v_rocniku(rocnik):
# return Problem.objects.filter(typ=Problem.TYP_TEMA, rocnik=rocnik) # return Problem.objects.filter(typ=Problem.TYP_TEMA, rocnik=rocnik)
logger = logging.getLogger(__name__)
def get_problemy_k_tematu(tema): def get_problemy_k_tematu(tema):
return Problem.objects.filter(nadproblem = tema) return Problem.objects.filter(nadproblem = tema)