Wagtail Multi Image Edit
Project description
Wagtail Multi Image Edit
Wagtail Multi Image Edit offers a solution to editing and updating data fields for multiple images from one place.
Installation
Wagtail Multi Image Edit has a pypi package and can be installed with:
pip install wagtail-multi-image-edit
After installing, add it to INSTALLED_APPS
in your settings file
INSTALLED_APPS = [
...
'wagtail_multi_image_edit',
]
Add the new url pattern and view import to urls.py
:
from wagtail_multi_image_edit.views import multi_image_edit
urlpatterns = [
url(r'^admin/images/multi-edit/', multi_image_edit, name='multi_image_edit'),
Add the needed templates by adding the following to your settings where TEMPLATES is defined:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'DIRS': [
'wagtail_multi_image_edit/templates'
],
...
Finally, add which fields you want to be exposed by adding the following to your settings:
MULTI_IMAGE_EDIT_FIELDS = [
'title',
'collection',
'tags',
]
Note
The plugin will override the core wagtail template wagtailimage/images/results
so select boxes can be added. You may need to carry out extra template work if you are already customising this core template.
Thank you to...
@katestatton For the initial concept and direction.
@gasman For code guidance and form validation.
@noslouch For great JS feedback.
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 Multi Image Edit-0.0.5.tar.gz
.
File metadata
- Download URL: Wagtail Multi Image Edit-0.0.5.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bfc9636aeabb4c21237d77241eb1ed7907bc5b8ccbfed28415a04a64ddb04b5 |
|
MD5 | b2a49dd7dacb7491a7f6a8bc4d498d90 |
|
BLAKE2b-256 | e3b7aecd4cb3ca17f7d45bb860d63788b0afaf8cb0caa1c45afc3d9107a88195 |
File details
Details for the file Wagtail_Multi_Image_Edit-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: Wagtail_Multi_Image_Edit-0.0.5-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.19.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c7c7b2a4757115059b2949c01a3b4d7afc96424135f3ec41b099711b47e53a4 |
|
MD5 | f7a2ea87eca0686c933b8940f99547ae |
|
BLAKE2b-256 | 6087c56fb1fe53cea2872b50ae56f3bc8373ac57b378e5626d738e0540efa74e |