Overview
Wagtail 3.0, released on May 16, 2022, is a major release with a modernized admin interface and a StreamField overhaul.
Main Features
Modernized admin UI
The admin interface features a new design with an improved sidebar, dark theme, and redesigned navigation.
python
# settings.py - Wagtail 3.0 admin customization
WAGTAIL_SITE_NAME = 'My site'
WAGTAILADMIN_BASE_URL = 'https://mysite.com'
# New design is enabled by default
# Dark theme available via user preferences
New StreamField
StreamField now uses a native JSON field instead of serialized format, improving performance and maintainability.
python
from wagtail.models import Page
from wagtail.fields import StreamField
from wagtail import blocks
class ArticlePage(Page):
# use_json_field=True is required in 3.0
body = StreamField([
('text', blocks.RichTextBlock()),
('quote', blocks.BlockQuoteBlock()),
], use_json_field=True)
