mirror of
https://github.com/django/django.git
synced 2025-08-22 11:34:33 +00:00
Fixed #34803 -- Fixed queryset crash when filtering againts deeply nested OuterRef annotations.
Thanks Pierre-Nicolas Rigal for the report.
Regression in c67ea79aa9
.
This commit is contained in:
parent
9c68792843
commit
9cc0d7f7f8
5 changed files with 39 additions and 0 deletions
|
@ -885,6 +885,7 @@ class ResolvedOuterRef(F):
|
|||
|
||||
class OuterRef(F):
|
||||
contains_aggregate = False
|
||||
contains_over_clause = False
|
||||
|
||||
def resolve_expression(self, *args, **kwargs):
|
||||
if isinstance(self.name, self.__class__):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue