mirror of
https://github.com/django/django.git
synced 2025-11-23 04:25:55 +00:00
Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation relation on PostgreSQL.
This commit is contained in:
parent
594fcc2b74
commit
9bbf97bcdb
11 changed files with 117 additions and 13 deletions
|
|
@ -50,7 +50,7 @@ class StartsWithRelation(models.ForeignObject):
|
|||
from_field = self.model._meta.get_field(self.from_fields[0])
|
||||
return StartsWith(to_field.get_col(alias), from_field.get_col(related_alias))
|
||||
|
||||
def get_joining_columns(self, reverse_join=False):
|
||||
def get_joining_fields(self, reverse_join=False):
|
||||
return ()
|
||||
|
||||
def get_path_info(self, filtered_relation=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue