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