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.1.0.tar.gz
.
File metadata
- Download URL: wagtail-streamfield-migration-toolkit-0.1.0.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e65581b29477d996db1ee911c8526cd1ecb0ad5ffffba1df8c728c236f71bfb1 |
|
MD5 | 07505c3cbc8274a2296087f84769436f |
|
BLAKE2b-256 | a333bfab326163cc70bd5c16a6a4b2b53a01c74a9f719cf6c2a684b30efbad38 |
File details
Details for the file wagtail_streamfield_migration_toolkit-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: wagtail_streamfield_migration_toolkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8128870f51b33fcf7b69721d937c72c87c42c85681101ae8e44b6226379a4867 |
|
MD5 | ce65bdea18a62686155a5c3806ab7b56 |
|
BLAKE2b-256 | a37eaf1730b9246a7151fc54ad9c00128c86f792314026b1b86d0657c48bf450 |