Skip to main content

Wagtail CMS

Wagtail CMS is a free and open-source content management system (CMS) built on the Python web framework, Django. It is designed to provide a modern and user-friendly interface for managing website content, specifically for publishing and managing pages, images, documents, and other media files.

tip

To learn how to set it up in SaaS Hammer, please check Wagtail CMS Setup Guide

Page Tree

In SaaS Hammer, we already created some page models in the cms Django app, and the page trees on the live site look like this

/                       index.html (normal Django view)

blog BlogPage
post-page PostPage

contact FormPage

privacy-policy StandardPage
cookies StandardPage

As you can see, we can use Wagtail and Page models to help us build blog, contact and other pages in quick way.

StreamField

StreamField in a killer feature shipped with Wagtail, which allows editors to create custom content blocks and arrange them in a flexible layout. This makes it easy to create complex page layouts without requiring knowledge of HTML or CSS.

StreamField

  1. How to use StreamField for mixed content
  2. How to use StreamField in Wagtail

Form Builder

Editors can build forms within the usual page editor, consisting of any number of fields

For example, We can add, remove form fields on the Contact page to collect custom information.

More details can be found https://docs.wagtail.org/en/latest/reference/contrib/forms/

Site Settings

With site settings, we can manage snippet in Wagtail CMS.

site-settings

Then it will look like

features

tip

To learn how to set it up in SaaS Hammer, please check Wagtail CMS Setup Guide