mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Fixed #31415 -- Fixed crash when nested OuterRef is used with operators or in database functions.
This commit is contained in:
parent
89032876f4
commit
6fbce45b03
2 changed files with 20 additions and 1 deletions
|
@ -585,6 +585,9 @@ class OuterRef(F):
|
|||
return self.name
|
||||
return ResolvedOuterRef(self.name)
|
||||
|
||||
def relabeled_clone(self, relabels):
|
||||
return self
|
||||
|
||||
|
||||
class Func(SQLiteNumericMixin, Expression):
|
||||
"""An SQL function call."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue