Browse Source

Nepoužitý logger v seminar.views

v3
Jonas Havelka 1 year ago
parent
commit
f3c38f1f02
  1. 3
      seminar/views/views_all.py

3
seminar/views/views_all.py

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

Loading…
Cancel
Save