Skip to main content

The brand new Wagtail StreamField!

Project description

http://img.shields.io/pypi/v/wagtail-react-streamfield.svg?style=flat-square&maxAge=3600

Drop-in replacement for the StreamField in Wagtail.

This work was funded thanks to a Kickstarter campaign!

It relies on react-streamfield, a React package created for the occasion.

This work is currently in beta phase and will in the end be merged in Wagtail. You should be careful and manually check that it works for your own StreamField and report any bug you find.

Requirements

Wagtail 2.6 or above.

Getting started

It’s really easy to setup, like most NoriPyt packages:

  • pip install wagtail-react-streamfield

  • Add 'wagtail_react_streamfield', to your INSTALLED_APPS before 'wagtail.admin', 'wagtail.images', 'wagtail.docs' & 'wagtail.snippets'

That’s it!

Usage

wagtail-react-streamfield has the same class API as the regular StreamField. What changes:

Meta attributes (or passed to __init__)

closed

Set to True to close all blocks of this type when loading the page. Defaults to False.

Screenshots

https://raw.github.com/noripyt/wagtail-react-streamfield/master/wagtail-react-streamfield-screenshot-1.png https://raw.github.com/noripyt/wagtail-react-streamfield/master/wagtail-react-streamfield-screenshot-2.png https://raw.github.com/noripyt/wagtail-react-streamfield/master/wagtail-react-streamfield-screenshot-3.png

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

wagtail-react-streamfield-1.3.5.tar.gz (142.6 kB view details)

Uploaded Source

Built Distribution

wagtail_react_streamfield-1.3.5-py3-none-any.whl (146.3 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-react-streamfield-1.3.5.tar.gz.

File metadata

File hashes

Hashes for wagtail-react-streamfield-1.3.5.tar.gz
Algorithm Hash digest
SHA256 93929551279d850dc4e3b32869b7497b15f0fa12ed9ed22171e0f56f0a087313
MD5 c6a50915bfea738606e9093d7e7fdb08
BLAKE2b-256 b657407afbd7f743c05131e99fcfeb1e2e5697036f629c892a23c2f5919ff3e3

See more details on using hashes here.

File details

Details for the file wagtail_react_streamfield-1.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for wagtail_react_streamfield-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cf45d3d870a3a306ad7473a0701b5c6c82c2a0df3cbccc064fde5083f94de4a1
MD5 7399e7d9fa300661ba89c859dceb56dc
BLAKE2b-256 209d76a2b89f702dab222b3c67d8c4bbd17c32e643a61c2930d1d3a2717fcb17

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