Browse Source

Logger pro views_all

middleware_test
MaM Web user 3 years ago
parent
commit
80382309bf
  1. 2
      seminar/views/views_all.py

2
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): #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