Tutorial Wagtail Version: 2.x
StreamFields in Wagtail CMS are considered to be a complex data type. In this video we're going to explore how it's stored in the database and what it looks like to get a better understanding of how a StreamField is saved and used versus a regular Django field.
Here's the link to where you can download DB Browser for SQLite (what I used in this video).
Setting Up RichText Streamfields
In Wagtail you can have two Richtext areas: a model field and a StreamField. In this article we'll cover the Streamfield type.
How to Add a Basic StreamField to your Wagtail CMS Page
In this lesson we are going to learn how to add a basic StreamField to a a generic Wagtail CMS Page. We'll create a new app from scratch, and this StreamField will have a title and text (using StructBlock), a custom template, and it will lay the foundation for the next lesson which covers inheriting RichTextBlock and modifying the features it can have.
How to Add a RichText StreamField to your Wagtail CMS Page
In this video we are going to learn how to create a RichTextBlock StreamField, and then we're going to duplicate that StreamField and limit the number of features the editor gives us.