Adjusted QuerySet._filter_or_exclude() call to use negated=False, rather than None.
None was a remnant from the times _filter_or_exclude accepted qtype/mapper as the first arg.
This commit is contained in:
parent
09578f6dfb
commit
70d8146986
|
@ -935,7 +935,7 @@ class QuerySet:
|
|||
clone.query.add_q(filter_obj)
|
||||
return clone
|
||||
else:
|
||||
return self._filter_or_exclude(None, **filter_obj)
|
||||
return self._filter_or_exclude(False, **filter_obj)
|
||||
|
||||
def _combinator_query(self, combinator, *other_qs, all=False):
|
||||
# Clone the query to inherit the select list and everything
|
||||
|
|
Loading…
Reference in New Issue