Ticket #18333: django-ticket18333.diff
File django-ticket18333.diff, 508 bytes (added by , 13 years ago) |
---|
-
django/db/models/sql/aggregates.py
diff --git a/django/db/models/sql/aggregates.py b/django/db/models/sql/aggregates.py index b41314a..f9d810a 100644
a b class Aggregate(object): 74 74 elif isinstance(self.col, (list, tuple)): 75 75 field_name = '.'.join([qn(c) for c in self.col]) 76 76 else: 77 field_name = self.col77 field_name = qn(self.col) 78 78 79 79 params = { 80 80 'function': self.sql_function,