Skip to content

Commit

Permalink
Update aggregates.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smilerightnow authored Sep 8, 2024
1 parent 749cbd7 commit 6f2fddb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/django_mysql/models/aggregates.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def as_sql(
sql.append(expr_sql)

if self.ordering is not None or self.column_order is not None:
sql.append(" ORDER BY")
sql.append(" ")
sql.append(" ORDER BY ")

if self.column_order is not None:
if isinstance(self.column_order, str):
Expand Down

0 comments on commit 6f2fddb

Please sign in to comment.