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.

https://raw.githubusercontent.com/wagtail/wagtail-autocomplete/master/docs/_static/autocomplete-m2m-demo.gif

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 color 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.4.tar.gz (64.2 kB view details)

Uploaded Source

Built Distribution

wagtail_autocomplete-0.4-py3-none-any.whl (69.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wagtail-autocomplete-0.4.tar.gz
  • Upload date:
  • Size: 64.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for wagtail-autocomplete-0.4.tar.gz
Algorithm Hash digest
SHA256 45934480e60588d02f5b2029ce1c894d94d412703e64a61ca944fe1e23a7e796
MD5 28bd9a336d0beca205fa0c0f1ec33394
BLAKE2b-256 b1bd5debbfb7f3d49466d3cc7566b90e7d634946b0f574b41db226699aae3087

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wagtail_autocomplete-0.4-py3-none-any.whl
  • Upload date:
  • Size: 69.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for wagtail_autocomplete-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e1f55ca5147a94c398002b51f6b93d2aafeb2c127da428d714f08e79f61a3216
MD5 2d0785859de3420b31dc2b47e6917c39
BLAKE2b-256 0f326f387c2bb2b2c0d336f32ad6f73c281939e6137733020d4cb5205816974c

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