A set of reusable utilities to allow Wagtail implementors to easily generate data migrations for changes to StreamField block structure.
Project description
This package aims to make it easier for developers using StreamField who need to write data
migrations when making changes involving blocks/block structure in the StreamField. We expose a
custom migration operation class (MigrateStreamData
) for migrations, which recurses through
a streamfield to apply chosen sub-operations to all blocks matching a specific type. With it we also
supply a set of sub-operations to perform the most common changes, while also allowing you to
write your own when needed.
For more details, see https://github.com/sandilsranasinghe/wagtail-streamfield-migration-toolkit
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-streamfield-migration-toolkit-0.2.0.tar.gz
.
File metadata
- Download URL: wagtail-streamfield-migration-toolkit-0.2.0.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b851a855aeca606a292d8d8446ad8f18ed4c0614e128088820044e73f3ecb58 |
|
MD5 | 1203ace06a932ea4154a466d0725f6dd |
|
BLAKE2b-256 | f76fc72a575c70f2a3232357a11e2d35bb54020bccfa2e9747ea0d8d83e74e29 |
Provenance
File details
Details for the file wagtail_streamfield_migration_toolkit-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: wagtail_streamfield_migration_toolkit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 48.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93f6f9bdc3e3cc70baf4d80d8f04dd9fd50f258dcad244efa39649b20fc3f59a |
|
MD5 | 005e4bb9684c8666de6be1562a941590 |
|
BLAKE2b-256 | 4cebd3af09bc19e8a66e1461db0443e5d869ae55986376e291a89dc648ee8a70 |