Skip to main content

An Autocomplete edit handler for Pages, Snippets, and more.

Project description

https://circleci.com/gh/wagtail/wagtail-autocomplete.svg?style=svg

An edit handler for the Wagtail content editor allowing single or multi autocompleted selection of Pages, Snippets, or other models. The widget is written in React and can be used outside the Wagtail admin, if desired.

Features

  • Rapidly select related objects via a smooth autocomplete interface

  • A drop-in alternative to PageChooserPanel or SnippetChooserPanel

  • Create new objects from the autocomplete input if your search turns up blank

  • React component can be used outside of the Wagtail admin for public-facing forms

  • Default theme shares the colour scheme and styles of the Wagtail admin

  • Easy to re-theme with BEM methodology

Who’s using it?

  • The U.S. Press Freedom Tracker makes extensive use of this edit handler with its public-facing filters and content editor to rapidly select and create new related metadata objects.

Merge into wagtail/wagtail

Eventually we would like this to be merged into wagtail/wagtail. This will require some work on the Wagtail API.

  • Support endpoints for non-Page models

  • Support standard Django field lookups such as id__in

  • Create objects from the API

  • Permission system for non-administrator access to the API

Documentation

Our documentation is on Read the Docs and includes basic usage instructions as well as contribution guidelines.

Contributors

  • Harris Lapiroff (Little Weaver Web Collective) for the UX and UI design

  • Rachel Stevens (Little Weaver Web Collective)

  • Emily Horsman (Little Weaver Web Collective)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-autocomplete-0.1.1.tar.gz (63.4 kB view details)

Uploaded Source

Built Distribution

wagtail_autocomplete-0.1.1-py3-none-any.whl (66.9 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-autocomplete-0.1.1.tar.gz.

File metadata

File hashes

Hashes for wagtail-autocomplete-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b4ca8b795478806a1e13e83c87d5c2f7d81f4e34d89083c98917a6d0e3723957
MD5 f66ebc50a2cb3c91546d6f5f10fcc2fe
BLAKE2b-256 557a7af9c21d3507ad1977f3c6b9565cada4fa24e240ecd175651b1846eeb319

See more details on using hashes here.

File details

Details for the file wagtail_autocomplete-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_autocomplete-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ff17f8897a7c9f10a7985b69ae7df7bb48f1baaf9bfea138fa591b5869df03
MD5 6e028078274974428f399df90b164237
BLAKE2b-256 03cdede62f9eb52976b9c996fe4c9b7f74c7759d12b5e1e44895bf5d491f2756

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page