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