From dbab06a88cc7b12ff728d9c1721d126ed0690202 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Wed, 9 Jul 2014 15:47:00 +0100 Subject: [PATCH] Fixed typo --- docs/wagtailsearch/for_python_developers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/wagtailsearch/for_python_developers.rst b/docs/wagtailsearch/for_python_developers.rst index c337e1275b..44332a8199 100644 --- a/docs/wagtailsearch/for_python_developers.rst +++ b/docs/wagtailsearch/for_python_developers.rst @@ -16,7 +16,7 @@ All searches are performed on Django QuerySets. Wagtail provides a ``search`` me # Search future EventPages >>> from wagtail.wagtailcore.models import EventPage - EventPage.objects.filter(date__gt=timezone.now()).search("Hello world!") + >>> EventPage.objects.filter(date__gt=timezone.now()).search("Hello world!") All methods of ``PageQuerySet`` are supported by wagtailsearch: