MCPcopy
hub / github.com/django/django / _check_operator_queryset

Method _check_operator_queryset

django/db/models/query.py:2319–2321  ·  view source on GitHub ↗
(self, other, operator_)

Source from the content-addressed store, hash-verified

2317 )
2318
2319 def _check_operator_queryset(self, other, operator_):
2320 if self.query.combinator or other.query.combinator:
2321 raise TypeError(f"Cannot use {operator_} operator with combined queryset.")
2322
2323 def _check_ordering_first_last_queryset_aggregation(self, method):
2324 if (

Callers 3

__and__Method · 0.95
__or__Method · 0.95
__xor__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected