Fix more doc syntax errors

stable/0.4.x
Matt Westcott 2014-07-10 13:33:20 +01:00
rodzic 4f8cfa6346
commit f939af74dc
6 zmienionych plików z 13 dodań i 5 usunięć

Wyświetl plik

@ -28,3 +28,4 @@ It supports Django 1.6.2+ on Python 2.6, 2.7, 3.2, 3.3 and 3.4. Django 1.7 suppo
support
roadmap
editor_manual/index
releases/index

Wyświetl plik

@ -32,7 +32,7 @@ A new management command has been added (:ref:`publish_scheduled_pages`) to publ
Search on QuerySet with Elasticsearch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Its now possible to perform searches with Elasticsearch on ``PageQuerySet``s:
Its now possible to perform searches with Elasticsearch on ``PageQuerySet`` objects:
>>> from wagtail.wagtailcore.models import Page
>>> Page.objects.live().descendant_of(events_index).search("Hello")
@ -174,7 +174,7 @@ Previously, the ``route`` method called ``serve`` and returned a ``HttpResponse`
Wagtailadmins ``hooks`` module has moved to wagtailcore
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you use any ``wagtail_hooks.py`` files in your project, you may have an import like: ``from wagtail.wagtailadmin import hooks``

Wyświetl plik

@ -0,0 +1,7 @@
Release notes
=============
.. toctree::
:maxdepth: 1
0.4

Wyświetl plik

@ -14,7 +14,7 @@ Wagtail can degrade to a database-backed text search, but we strongly recommend
.. _wagtailsearch_backends_database:
Database Backend
===============
================
The default DB search backend uses Django's ``__icontains`` filter.

Wyświetl plik

@ -1,5 +1,5 @@
.. _wagtailsearch_editors_picks:
.. _editors-picks:
Editors picks

Wyświetl plik

@ -35,7 +35,7 @@ Fields need to be explicitly added to the search configuration in order for you
You can add new fields to the search index by overriding the ``search_fields`` property and appending a list of extra ``SearchField``/``FilterField`` objects to it.
``Page`` sets a default value to ``search_fields`` indexing the ``title`` field as a ``SearchField`` and some other generally useful fields as ``FilterField``s.
The default value of ``search_fields`` (as set in ``Page``) indexes the ``title`` field as a ``SearchField`` and some other generally useful fields as ``FilterField`` rules.
Quick example