Wagtail Quick Create
Wagtail Quick Create offers shortcut links to create objects from models specified in your settings file.
A panel is added to the admin home, offering a type:
Clicking a create link will offer a parent selection for the new item
Note on parent pages
Wagtailquickcreate needs the parent_page_types set on the model you wish to include so it can successfully provide the parent page selection. If this isn't specified, you will likely see every page offered as a parent, this will not work as it's looking up pages using wagtail.core.models.Page and this core wagtail class has is_creatable = False
Configuration
Install using pip:
pip install wagtail-quick-create
After installing the module, add wagtailquickcreate to your installed apps in your settings file:
INSTALLED_APPS = [
...
'wagtailquickcreate',
]
Also add the models you would like to create quick links for to your settings file as 'your_app_name.YourModelName':
EG:
WAGTAIL_QUICK_CREATE_PAGE_TYPES = ['news.NewsPage', 'events.EventPage']
If you want the Quick Create links panel to replace the wagtail summary panel, you can set this by adding the following to your settings
WAGTAIL_QUICK_CREATE_REPLACE_SUMMARY_PANEL = True
If you would like to offer image and or document links, this can also be done by specifying the following in your settings:
WAGTAIL_QUICK_CREATE_DOCUMENTS = True
WAGTAIL_QUICK_CREATE_IMAGES = True
Contributing
We are happy to receive pull requests for bug fixes, improvements and new features. See CONTRIBUTING.md for more information.
Credits/Authors
Concept created by Kate Statton - NYPR @katestatton
Release files for wagtail-quick-create 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail-quick-create-2.0.1.tar.gz | 8.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_quick_create-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.8 kB
Release files / wagtail-quick-create-2.0.1.tar.gz
| Download URL | wagtail-quick-create-2.0.1.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c07357317472d88bc71d1ac553700c1ef708b751a9270c8a00b2428c274f80e9
|
|
BLAKE2b-256 checksum How to use checksums |
1fd5bc1bce12af75ac7cbe867afd08d53a4685d67018274a9bb399afb0c099ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / wagtail_quick_create-2.0.1-py3-none-any.whl
| Download URL | wagtail_quick_create-2.0.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
645523f272ea56daf1e577268674ed1d02b6e8e87fa320f3a9c7f64ec9384e6f
|
|
BLAKE2b-256 checksum How to use checksums |
6a9471cfafec5a79d93ad6e4c93d0744f6d6548e317d65923a5f567bde5e0d27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|