mirror of
https://github.com/django/django.git
synced 2025-12-06 18:05:48 +00:00
Fixed #24154 -- Backends can now check support for expressions
This commit is contained in:
parent
511be35779
commit
8196e4bdf4
11 changed files with 58 additions and 62 deletions
|
|
@ -230,11 +230,6 @@ class Query(object):
|
|||
raise ValueError("Need either using or connection")
|
||||
if using:
|
||||
connection = connections[using]
|
||||
|
||||
# Check that the compiler will be able to execute the query
|
||||
for alias, annotation in self.annotation_select.items():
|
||||
connection.ops.check_aggregate_support(annotation)
|
||||
|
||||
return connection.ops.compiler(self.compiler)(self, connection, using)
|
||||
|
||||
def get_meta(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue