summaryrefslogtreecommitdiff
path: root/django/db/models/sql/aggregates.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-06-17 11:57:16 -0400
committerTim Graham <timograham@gmail.com>2014-06-17 11:57:16 -0400
commit95cc0e15b45dd0986bdfd9fa3fedee4550c744c8 (patch)
treeb6ef1a366cb8c4c76bb16a264da0b938d51a61d6 /django/db/models/sql/aggregates.py
parent61d7ae31cf286277ddefaf8006597be40388d2ee (diff)
Fixed #22819 -- Renamed output_type -> output_field in query expression API.
Thanks jorgecarleitao for the suggestion.
Diffstat (limited to 'django/db/models/sql/aggregates.py')
-rw-r--r--django/db/models/sql/aggregates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/aggregates.py b/django/db/models/sql/aggregates.py
index ce2968c445..8274d43621 100644
--- a/django/db/models/sql/aggregates.py
+++ b/django/db/models/sql/aggregates.py
@@ -103,7 +103,7 @@ class Aggregate(RegisterLookupMixin):
return []
@property
- def output_type(self):
+ def output_field(self):
return self.field