diff --git a/docs/wagtailsearch/for_python_developers.rst b/docs/wagtailsearch/for_python_developers.rst index 506649976..be389e500 100644 --- a/docs/wagtailsearch/for_python_developers.rst +++ b/docs/wagtailsearch/for_python_developers.rst @@ -24,7 +24,7 @@ All methods of ``PageQuerySet`` are supported by wagtailsearch: .. code-block:: python # Search all live EventPages that are under the events index - >>> EventPage.objects.live().descendant_of(events_index).search("Hello") + >>> EventPage.objects.live().descendant_of(events_index).search("Event") [, ]