Skip to content

Proof of concept Wagtail StreamFieldPanel that avoids unnecessary template rendering

Notifications You must be signed in to change notification settings

inueni/wagtail-smartstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wagtail-smartstream

Proof of concept Wagtail StreamFieldPanel that avoids unnecessary rendering of templates used for adding StreamField blocks.

Usage

Add smartstream to INSTALLED_APPS.

On your Page models, substitute wagtail.wagtailadmin.edit_handlers.StreamFieldPanel with smartstream.edit_handlers.StreamFieldPanel

When defining StreamField blocks, use smartstream.blocks.ListBlock and smartstream.blocks.StreamBlock in place of Wagtail variants.

About

Proof of concept Wagtail StreamFieldPanel that avoids unnecessary template rendering

Resources

Stars

Watchers

Forks

Packages

No packages published