summaryrefslogtreecommitdiff
path: root/django/utils/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/tree.py')
-rw-r--r--django/utils/tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/tree.py b/django/utils/tree.py
index d897cbeacd..443e996700 100644
--- a/django/utils/tree.py
+++ b/django/utils/tree.py
@@ -33,7 +33,7 @@ class Node:
__init__() with a signature that conflicts with the one defined in
Node.__init__().
"""
- obj = Node(children, connector, negated)
+ obj = Node(children, connector or cls.default, negated)
obj.__class__ = cls
return obj