An Autocomplete edit handler for Pages, Snippets, and more.
Project description
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 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wagtail-autocomplete-0.8.1.tar.gz
.
File metadata
- Download URL: wagtail-autocomplete-0.8.1.tar.gz
- Upload date:
- Size: 63.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb9da6f442e2577cff463883dbdf178f9a68ebb49b7e5dbb0c4f21f3b26f5e1 |
|
MD5 | d8b05cf1c978b7f02afb4f06e582081d |
|
BLAKE2b-256 | 71dd322c02ec50b1fb6a953e065b365c88c38bbabffb69379337d7f1af905138 |
File details
Details for the file wagtail_autocomplete-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: wagtail_autocomplete-0.8.1-py3-none-any.whl
- Upload date:
- Size: 67.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d3de24247c9e8e3710fad7aac5f8aae38e78624cb348fe45b149cacc8af5f8 |
|
MD5 | aea20ea31d13ae3b0220bc5a81775f53 |
|
BLAKE2b-256 | 4408d3d9273a41527649b446bccb60d3e672563df4f3903ad0f6195864089c51 |