diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 746b1642..69832744 100644 --- a/seminar/views/views_all.py +++ b/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