1
0
mirror of https://github.com/django/django.git synced 2025-04-22 00:04:43 +00:00

[1.9.x] Removed unused Aggregate.input_field.

Obsolete since 4a66a69239c493c05b322815b18c605cd4c96e7c.

Backport of 1f84721fac8852ebc85a2b5c95f9a65439b3937c from master
This commit is contained in:
Tim Graham 2015-09-24 09:11:00 -04:00
parent eae5f738ba
commit 6c8d36a1ab

View File

@ -27,10 +27,6 @@ class Aggregate(Func):
c._patch_aggregate(query) # backward-compatibility support
return c
@property
def input_field(self):
return self.source_expressions[0]
@property
def default_alias(self):
expressions = self.get_source_expressions()