This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A suite of tools that extends Wagtail's already-awesome StreamField to make it even more flexible/versatile/useful!

Project Description

A suite of tools that extends Wagtail’s already-awesome StreamField to make it even more flexible/versatile/useful!

Includes:

  • 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.

Compatibility

  • Python:
    • 2.7
    • 3.4
    • 3.5
  • Wagtail:
    • 1.2
    • 1.3
    • 1.4

Note

If you want to use Python 3.3 or Wagtail 1.1 install the 0.2 release.

Installation

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',
)

Running Tests

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!

Release History

Release History

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wagtail_streamfieldtools-0.3-py2.py3-none-any.whl (20.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel May 13, 2016
wagtail-streamfieldtools-0.3.tar.gz (12.1 kB) Copy SHA256 Checksum SHA256 Source May 13, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting