Fixed typo

This commit is contained in:
Karl Hobley 2014-07-09 15:47:00 +01:00
parent 33e9477032
commit dbab06a88c

View file

@ -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: