Tutorial Wagtail Version: 2.x
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.
Note: This is a 2 part video lesson. Part 2 will cover how to add RichText StreamFields and how to limit its features.
In this video we're going to explore what StreamFields are and how to add them to our page.
StreamFields are a complex data type in the sense that they are not simple columns in the database. An example of a generic StructBlock StreamField can be found below:
The Git Commit
If you're interested in seeing the entire commit for this video (including part 2), all the source code is available here.
How to Add a RichText StreamField to your Wagtail CMS Page
Posted on
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.
How to add localization to your website
Posted on
Learn how to make your Wagtail website multilingual with different translations
How to Add a New Wagtail Page From Scratch
Posted on
In this video we're going to explore how to add a new app to our Wagtail CMS website, how to install it, and how to add the custom page model. We'll be creating a brand new Wagtail Page from scratch.
How to Add Template Caching
Posted on
Wagtail is a fast CMS. It's built largely for performance, which is why a lot of beautiful features are not enabled by default. In this lesson we're going to take a look at database queries and template fragment caching to speed up our load times (page performance).
This course covers everything from basic installation to advanced features like custom blocks and API integration, it's perfect for developers looking to enhance their skills with this powerful CMS.