mirror of
https://github.com/django/django.git
synced 2025-08-25 04:54:45 +00:00
Fixed #31251 -- Disabled grouping by OuterRef() annotation.
This commit is contained in:
parent
5bf28ac2ed
commit
486786c4c4
2 changed files with 11 additions and 0 deletions
|
@ -562,6 +562,9 @@ class ResolvedOuterRef(F):
|
|||
def relabeled_clone(self, relabels):
|
||||
return self
|
||||
|
||||
def get_group_by_cols(self, alias=None):
|
||||
return []
|
||||
|
||||
|
||||
class OuterRef(F):
|
||||
def resolve_expression(self, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue