diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-18 14:29:09 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-19 11:11:30 -0500 |
| commit | 5008a4db440c8f7d108a6979b959025ffb5789ba (patch) | |
| tree | dfb9057f64346633945e141022f15c3bc743b36a /django/utils/tree.py | |
| parent | 5792e6a88c1444d4ec84abe62077338ad3765b80 (diff) | |
Removed legacy ORM lookup support per deprecation timeline; refs #16187.
Diffstat (limited to 'django/utils/tree.py')
| -rw-r--r-- | django/utils/tree.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/django/utils/tree.py b/django/utils/tree.py index a8d96893b0..9eb3aeb5d6 100644 --- a/django/utils/tree.py +++ b/django/utils/tree.py @@ -81,13 +81,6 @@ class Node(object): """ return other in self.children - def _prepare_data(self, data): - """ - A subclass hook for doing subclass specific transformations of the - given data on combine() or add(). - """ - return data - def add(self, data, conn_type, squash=True): """ Combines this tree and the data represented by data using the @@ -105,7 +98,6 @@ class Node(object): """ if data in self.children: return data - data = self._prepare_data(data) if not squash: self.children.append(data) return data |
