Z

Size: a a a
Z
VS
DT
Z
Z
def get_children_rec(self):
res = list()
for c in self.get_children():
res += list(c.get_children_rec()) + [c]
return res
DT
def get_children_rec(self):
res = list()
for c in self.get_children():
res += list(c.get_children_rec()) + [c]
return res
Z
Z
DT
Category.objects.filter(lft=F('rght')-1)
Z
Category.objects.filter(lft=F('rght')-1)
DT
F
DT
F
AM
DT
F
DT
F
МП