django_find.tree module

class django_find.tree.Node(children=None, is_root=False)[source]

Bases: object

__init__(children=None, is_root=False)[source]

x.__init__(…) initializes x; see help(type(x)) for signature

add(child)[source]
dump(indent=0)[source]
each(func, node_type=None)[source]

Runs func once for every node in the object tree. If node_type is not None, only call func for nodes with the given type.

pop()[source]