|
|
@ -29,7 +29,7 @@ from seminar.forms import PrihlaskaForm, LoginForm, ProfileEditForm |
|
|
|
import seminar.forms as f |
|
|
|
import seminar.templatetags.treenodes as tnltt |
|
|
|
import seminar.views.views_rest as vr |
|
|
|
from seminar.views.vysledkovka import vysledkovka_rocniku, vysledkovka_cisla |
|
|
|
from seminar.views.vysledkovka import vysledkovka_rocniku, vysledkovka_cisla, body_resitelu |
|
|
|
|
|
|
|
from datetime import timedelta, date, datetime, MAXYEAR |
|
|
|
from django.utils import timezone |
|
|
@ -185,7 +185,7 @@ class TNLData(object): |
|
|
|
return [cls.from_treenode(treenode)] |
|
|
|
else: |
|
|
|
found = [] |
|
|
|
for tn in all_children(treenode): |
|
|
|
for tn in treelib.all_children(treenode): |
|
|
|
result = cls.filter_treenode(tn, predicate) |
|
|
|
# Result by v tuhle chvíli měl být seznam TNLDat odpovídající treenodům, jež matchnuly predikát. |
|
|
|
for tnl in result: |
|
|
|