mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation relation on PostgreSQL.
This commit is contained in:
committed by
Mariusz Felisiak
parent
594fcc2b74
commit
9bbf97bcdb
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user