diff options
Diffstat (limited to 'django/db/models/aggregates.py')
-rw-r--r-- | django/db/models/aggregates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/aggregates.py b/django/db/models/aggregates.py index 45348a3f75..ce8829c593 100644 --- a/django/db/models/aggregates.py +++ b/django/db/models/aggregates.py @@ -46,7 +46,7 @@ class Aggregate(object): # Validate that the backend has a fully supported, correct # implementation of this aggregate query.connection.ops.check_aggregate_support(aggregate) - query.aggregate_select[alias] = aggregate + query.aggregates[alias] = aggregate class Avg(Aggregate): name = 'Avg' |