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.6.2.tar.gz (65.4 kB view details)

Uploaded Source

Built Distribution

wagtail_autocomplete-0.6.2-py3-none-any.whl (70.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wagtail-autocomplete-0.6.2.tar.gz
  • Upload date:
  • Size: 65.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for wagtail-autocomplete-0.6.2.tar.gz
Algorithm Hash digest
SHA256 6dc63deffc3cc923893f3ff71bc0c0b06681bd8d95b69db833d33051191babab
MD5 2ddc7af59ed1ca9587d2a3c56446e3d6
BLAKE2b-256 28f4be8d64ea4d7a110a69205f5c19919861ea756cc581508c64e368fc6fe222

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wagtail_autocomplete-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 70.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for wagtail_autocomplete-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c741301f8160ef3183c8961a604aecf033abbedff915d3f202ccaf61f50e08e5
MD5 7195e950d0b2c2e4c622d620fd75ef1c
BLAKE2b-256 46275f58d8ef3d0bdcb56541cdf86e12604fcbf294dc645715a29977b3569354

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