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
Hashes for wagtail-autocomplete-0.11.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2ba0f5c8a0e43cdc124a9503d91e9815fb0251a1431d52db5868306ab935059 |
|
MD5 | 478f317400f2051d544d5173b78669f6 |
|
BLAKE2b-256 | ba55598cc14ff7df3418f6e977249554e72b73dbf34da82cf961eb08d2249d1c |
Hashes for wagtail_autocomplete-0.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11479000aae7532376048d0ff75585d9bebc8fdd09bad88b28f770032a362d11 |
|
MD5 | dad00d293a5828fa8fdc93fdedc438d8 |
|
BLAKE2b-256 | 19a85a13dfcb653155c71cab87ff5cdb65d10a418a5dc72223355e7e5896035e |