From 934bba30dea093e9827d41f8f7f18e7f7706f152 Mon Sep 17 00:00:00 2001 From: Eric Drechsel Date: Tue, 27 Jan 2015 15:16:03 -0800 Subject: [PATCH] turn DeferringManager into QuerySet --- docs/core_components/search/indexing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core_components/search/indexing.rst b/docs/core_components/search/indexing.rst index 3558364f14..b33f0d1316 100644 --- a/docs/core_components/search/indexing.rst +++ b/docs/core_components/search/indexing.rst @@ -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 + [ # ...