mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
turn DeferringManager into QuerySet
This commit is contained in:
parent
02457685b3
commit
934bba30de
@ -162,7 +162,7 @@ Callables also provide a way to index fields from related models. In the example
|
||||
# ...
|
||||
def get_related_link_titles(self):
|
||||
# Get list of titles and concatenate them
|
||||
return '\n'.join(self.related_links.values_list('title', flat=True))
|
||||
return '\n'.join(self.related_links.all().values_list('title', flat=True))
|
||||
|
||||
search_fields = Page.search_fields + [
|
||||
# ...
|
||||
|
Loading…
Reference in New Issue
Block a user