equal
deleted
inserted
replaced
1 """ |
1 """ |
2 A class for storing a tree graph. Primarily used for filter constructs in the |
2 A class for storing a tree graph. Primarily used for filter constructs in the |
3 ORM. |
3 ORM. |
4 """ |
4 """ |
5 |
5 |
6 from copy import deepcopy |
6 from django.utils.copycompat import deepcopy |
7 |
7 |
8 class Node(object): |
8 class Node(object): |
9 """ |
9 """ |
10 A single internal node in the tree graph. A Node should be viewed as a |
10 A single internal node in the tree graph. A Node should be viewed as a |
11 connection (the root) with the children being either leaf nodes or other |
11 connection (the root) with the children being either leaf nodes or other |