Add content list block
This commit is contained in:
parent
fd4a9d2e18
commit
036c53dd9f
|
|
@ -50,7 +50,10 @@ class ContentBlock(StrictHierarchyPage):
|
|||
('subtitle', SubtitleBlock())
|
||||
]
|
||||
|
||||
content_list = StreamBlock(content_blocks)
|
||||
content_list_item = StreamBlock(content_blocks)
|
||||
content_list = StreamBlock(
|
||||
[('content_list_item', StreamBlock(content_blocks))]
|
||||
)
|
||||
contents = StreamField(content_blocks + [('content_list', content_list)], null=True, blank=True)
|
||||
|
||||
type = models.CharField(
|
||||
|
|
|
|||
Loading…
Reference in New Issue