Remove unused method

This commit is contained in:
Itai Shirav 2019-02-27 08:56:04 +02:00
parent 7ed62ffd2c
commit 191eac4424

View File

@ -576,9 +576,6 @@ class AggregateQuerySet(QuerySet):
def select_fields_as_sql(self): def select_fields_as_sql(self):
return comma_join(list(self._fields) + ['%s AS %s' % (v, k) for k, v in self._calculated_fields.items()]) return comma_join(list(self._fields) + ['%s AS %s' % (v, k) for k, v in self._calculated_fields.items()])
def group_by_as_sql(self):
return 'GROUP BY'
def __iter__(self): def __iter__(self):
return self._database.select(self.as_sql()) # using an ad-hoc model return self._database.select(self.as_sql()) # using an ad-hoc model