Skip to main content

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


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

File hashes

Hashes for wagtail-streamfield-migration-toolkit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b851a855aeca606a292d8d8446ad8f18ed4c0614e128088820044e73f3ecb58
MD5 1203ace06a932ea4154a466d0725f6dd
BLAKE2b-256 f76fc72a575c70f2a3232357a11e2d35bb54020bccfa2e9747ea0d8d83e74e29

See more details on using hashes here.

File details

Details for the file wagtail_streamfield_migration_toolkit-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_streamfield_migration_toolkit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93f6f9bdc3e3cc70baf4d80d8f04dd9fd50f258dcad244efa39649b20fc3f59a
MD5 005e4bb9684c8666de6be1562a941590
BLAKE2b-256 4cebd3af09bc19e8a66e1461db0443e5d869ae55986376e291a89dc648ee8a70

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page