mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.
This commit is contained in:
parent
edee5a8de6
commit
2c69824e5a
63 changed files with 145 additions and 150 deletions
|
@ -51,7 +51,7 @@ class StartsWithRelation(models.ForeignObject):
|
|||
return StartsWith(to_field.get_col(alias), from_field.get_col(related_alias))
|
||||
|
||||
def get_joining_columns(self, reverse_join=False):
|
||||
return tuple()
|
||||
return ()
|
||||
|
||||
def get_path_info(self):
|
||||
to_opts = self.remote_field.model._meta
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue