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

Join the Community at Wagtail Space!

Join us at Wagtail Space US this year! The Call for Participation and Registration for both Wagtail Space 2024 events is open. We would love to have you give a talk, or just us as an attendee in June.

Features

  • Rapidly select related objects via a smooth autocomplete interface

  • A drop-in alternative to FieldPanel

  • 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.12.0.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_autocomplete-0.12.0-py3-none-any.whl (66.4 kB view details)

Uploaded Python 3

File details

Details for the file wagtail_autocomplete-0.12.0.tar.gz.

File metadata

  • Download URL: wagtail_autocomplete-0.12.0.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for wagtail_autocomplete-0.12.0.tar.gz
Algorithm Hash digest
SHA256 d1cd315475e8c776c85a75ba5eb76ceb2eb680c18334e7e9424040d7faa9b538
MD5 71b7e7b31c2a9215b063939b263b36be
BLAKE2b-256 d832839ebf2c6754905efadf27c9bc214bdac47f4a4f0586ccaf04bb1677b6d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wagtail_autocomplete-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17be82c7e2ab2714b01a2a3edbf29f56ba37ad72f2bebcded560c5ead9b482df
MD5 b17878dce483cdd01bf74ee42275bcc7
BLAKE2b-256 3832463a123af303046aab96b95eb5edc18578ae4772026c149e7bfe8aea35de

See more details on using hashes here.

Supported by

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