wagtail/docs/advanced_topics
Karl Hobley 17f7f70170 Added "find" API view and ability to find pages by HTML path
This implements a new "find" view for all endpoints which can be used
for finding an individual object based on the URL parameters passed to
it.

If an object is found, the view will return a ``302`` redirect to detail
page of that object. If not, the view will return a ``404`` response.

For the pages endpoint, I've added a ``html_path`` parameter to this
view, this allows finding a page by its path on the site.

For example a GET request to ``/api/v2/pages/find/?html_path=/`` will
always generate a 302 response to the detail view of the homepage. This
uses Wagtail's internal routing mechanism so routable pages are
supported as well.

Fixes #4154
2018-04-13 12:08:19 +01:00
..
api Added "find" API view and ability to find pages by HTML path 2018-04-13 12:08:19 +01:00
customisation Fix capitalisation of names 2018-04-05 12:13:05 +01:00
documents Rename wagtail.wagtaildocs to wagtail.documents 2017-11-26 22:43:47 +00:00
i18n Fixing search url for django 1.10 and above. 2018-01-02 23:37:10 +00:00
images Fix spelling mistakes in documentation 2018-04-05 12:13:05 +01:00
deploying.rst Added PythonAnywhere deployment infos including the wagtail-pythonanywhere-quickstart project 2017-10-03 15:54:33 +01:00
embeds.rst Fix spelling mistakes in documentation 2018-04-05 12:13:05 +01:00
index.rst Adds docs for custom document models and get_document_model 2017-08-24 10:22:52 -07:00
jinja2.rst Rename wagtail.wagtailimages to wagtail.images 2017-11-26 22:43:47 +00:00
performance.rst Link to the full Elasticsearch setup docs from the Performance page 2017-03-23 15:51:11 +01:00
privacy.rst Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting 2017-06-16 14:50:48 +01:00
settings.rst Fix 'email notifications' link 2018-02-14 14:06:21 +00:00
testing.rst Add rich_text form data helper 2018-02-15 11:54:34 +00:00
third_party_tutorials.rst Mention Awesome Wagtail on "third-party tutorials" page (#3419) 2017-03-02 12:00:38 +00:00