Blog body is a stream field
This commit is contained in:
parent
dbd449b708
commit
f96124b744
9 changed files with 54 additions and 5 deletions
5
blog/blocks.py
Normal file
5
blog/blocks.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
from wagtail.blocks import RichTextBlock
|
||||
|
||||
from base.blocks import StreamBlock
|
||||
class BlogPostBlock(StreamBlock):
|
||||
paragraph = RichTextBlock(blank=True)
|
Loading…
Add table
Add a link
Reference in a new issue