mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Fix sphinx errors
This commit is contained in:
parent
2115d57c3e
commit
13b485a2a9
1 changed files with 2 additions and 0 deletions
|
|
@ -311,6 +311,7 @@ models, you can use the ``WagtailBackendSearchHandler`` class instead. For
|
|||
example:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from wagtail.contrib.modeladmin.helpers import WagtailBackendSearchHandler
|
||||
|
||||
from .models import Person
|
||||
|
|
@ -361,6 +362,7 @@ and will tell you what you need to change.
|
|||
For example, to override the ``WagtailBackendSearchHandler`` default operator you could do the following:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
from wagtail.contrib.modeladmin.helpers import WagtailBackendSearchHandler
|
||||
from wagtail.search.utils import OR
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue