Browse Source

seminar | sirotcinec | lepsi detekce sirotku

export_seznamu_prednasek
parent
commit
548852c83c
  1. 2
      seminar/views/views_all.py

2
seminar/views/views_all.py

@ -226,7 +226,7 @@ class SirotcinecView(generic.ListView):
template_name = 'seminar/orphanage.html'
def get_queryset(self):
return s.TreeNode.objects.not_instance_of(s.RocnikNode).filter(root=None)
return s.TreeNode.objects.not_instance_of(s.RocnikNode).filter(root=None,succ=None,father_of_first=None)
class ProblemView(generic.DetailView):
model = s.Problem

Loading…
Cancel
Save