summaryrefslogtreecommitdiff
path: root/django/db/models/sql/where.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2022-09-28 10:51:06 -0400
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-10-06 12:04:00 +0200
commitc6350d594c359151ee17b0c4f354bb44f28ff69e (patch)
treee01d3ff1213d480eb07e5bd365234576613912ce /django/db/models/sql/where.py
parentb7b28c7c189615543218e81319473888bc46d831 (diff)
Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().
Recent refactors allowed GROUP BY aliasing allowed for aliasing to be entirely handled by the sql.Query.set_group_by and compiler layers.
Diffstat (limited to 'django/db/models/sql/where.py')
-rw-r--r--django/db/models/sql/where.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py
index 5ce7e4e55c..63fdf58d9d 100644
--- a/django/db/models/sql/where.py
+++ b/django/db/models/sql/where.py
@@ -178,7 +178,7 @@ class WhereNode(tree.Node):
sql_string = "(%s)" % sql_string
return sql_string, result_params
- def get_group_by_cols(self, alias=None):
+ def get_group_by_cols(self):
cols = []
for child in self.children:
cols.extend(child.get_group_by_cols())