A suite of tools that extends Wagtail's already-awesome StreamField to make it even more flexible/versatile/useful!
A simple interface for displaying the individual blocks of a StreamField in any number of renditions.
A ‘block registry’ (and its associated field, RegisteredBlockStreamField) that makes blocks pluggable/re-usable across disparate models/apps/projects.
First, install with:
$ pip install wagtail-streamfieldtools
After installation completes, add 'streamfield_tools' to INSTALLED_APPS:
INSTALLED_APPS = ( # All your other apps here 'streamfield_tools', )
To run tests, first create a new virtual environment and install the test requirements:
$ virtualenv TEST_ENV $ pip install -r test_requirements.txt
Then run the test suite with this command:
$ coverage run --source streamfield_tools/ runtests.py
If all tests pass, then push your code to Github where Travis CI will tests against the entire dependency matrix. If [all tests passed there](https://travis-ci.org/WGBH/wagtail-streamfieldtools), then [head over to Coveralls](https://coveralls.io/github/WGBH/wagtail-streamfieldtools) to ensure your coverage has remained the same.
If the tests passed and coverage remained the same then it’s time to release to PyPI!
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for wagtail-streamfieldtools-0.3.tar.gz
Hashes for wagtail_streamfieldtools-0.3-py2.py3-none-any.whl