diff --git a/django/contrib/postgres/aggregates/statistics.py b/django/contrib/postgres/aggregates/statistics.py index db6c8e6dc5..2df8f95cb0 100644 --- a/django/contrib/postgres/aggregates/statistics.py +++ b/django/contrib/postgres/aggregates/statistics.py @@ -15,9 +15,6 @@ class StatAggregate(Aggregate): raise ValueError('Both y and x must be provided.') super().__init__(y, x, output_field=output_field, filter=filter) - def resolve_expression(self, query=None, allow_joins=True, reuse=None, summarize=False, for_save=False): - return super().resolve_expression(query, allow_joins, reuse, summarize) - class Corr(StatAggregate): function = 'CORR'