mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-24 14:53:45 +00:00
Fixed typo
This commit is contained in:
parent
33e9477032
commit
dbab06a88c
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue