The brand new Wagtail StreamField!
Project description
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
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
File details
Details for the file wagtail-react-streamfield-django-3-1.3.5.tar.gz
.
File metadata
- Download URL: wagtail-react-streamfield-django-3-1.3.5.tar.gz
- Upload date:
- Size: 142.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 980f16081d6f272eee2a99107355aab703a33eb019c098b5d7daf057ebe2d1ac |
|
MD5 | 8dd8bda37184d5301563cac98481f9fb |
|
BLAKE2b-256 | 9c2ce026c77d4b53c22cee13f03c811701ca09220892f97430a169b72703bb78 |