From 1f84721fac8852ebc85a2b5c95f9a65439b3937c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 24 Sep 2015 09:11:00 -0400 Subject: [PATCH] Removed unused Aggregate.input_field. Obsolete since 4a66a69239c493c05b322815b18c605cd4c96e7c. --- django/db/models/aggregates.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/django/db/models/aggregates.py b/django/db/models/aggregates.py index 5329cb3396..0ddb281cd9 100644 --- a/django/db/models/aggregates.py +++ b/django/db/models/aggregates.py @@ -26,10 +26,6 @@ class Aggregate(Func): raise FieldError("Cannot compute %s('%s'): '%s' is an aggregate" % (c.name, name, name)) return c - @property - def input_field(self): - return self.source_expressions[0] - @property def default_alias(self): expressions = self.get_source_expressions()