Wagtail
Working with wagtail-factories block factories
Wagtail’s killer feature is the stream field system for flexible content. In this tutorial we will learn how to create and use factory classes that enable us to generate content for stream field blocks, just like we would with factories for Django models.
Getting started with wagtail-factories
In this tutorial, we will learn how to use the wagtail-factories library to create factory boy factories for a Wagtail project. These factories facilitate the easy creation of model instances, which is particularly useful for tests.
We’ll learn about factories for Wagtail’s models - factories for stream field blocks will be covered in another document.