MCPcopy
hub / github.com/django/django / _not_support_combined_queries

Method _not_support_combined_queries

django/db/models/query.py:2312–2317  ·  view source on GitHub ↗
(self, operation_name)

Source from the content-addressed store, hash-verified

2310 )
2311
2312 def _not_support_combined_queries(self, operation_name):
2313 if self.query.combinator:
2314 raise NotSupportedError(
2315 "Calling QuerySet.%s() after %s() is not supported."
2316 % (operation_name, self.query.combinator)
2317 )
2318
2319 def _check_operator_queryset(self, other, operator_):
2320 if self.query.combinator or other.query.combinator:

Callers 13

deleteMethod · 0.95
updateMethod · 0.95
containsMethod · 0.95
filterMethod · 0.95
excludeMethod · 0.95
select_relatedMethod · 0.95
prefetch_relatedMethod · 0.95
annotateMethod · 0.95
aliasMethod · 0.95
distinctMethod · 0.95
extraMethod · 0.95
deferMethod · 0.95

Calls 1

NotSupportedErrorClass · 0.90

Tested by

no test coverage detected