Fixed #24154 -- Backends can now check support for expressions

This commit is contained in:
Josh Smeaton 2015-01-17 16:03:46 +11:00
parent 511be35779
commit 8196e4bdf4
11 changed files with 58 additions and 62 deletions

View file

@ -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):