You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to define StreamField (which is json) in context?
I am using django-pattern-library for building pages.
First I created a wagtail page with SteamField called body. body can contain several different type of blocks.
Then I created page template in patterns/pages. How I can/should define body of that page in yaml file? I want to create few pages with all combinations of body blocks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is it possible to define StreamField (which is json) in context?
I am using django-pattern-library for building pages.
First I created a wagtail page with SteamField called
body
.body
can contain several different type of blocks.Then I created page template in patterns/pages. How I can/should define body of that page in yaml file? I want to create few pages with all combinations of body blocks.
Beta Was this translation helpful? Give feedback.
All reactions