seminar | sirotcinec | lepsi detekce sirotku
This commit is contained in:
parent
c2483289fe
commit
548852c83c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue