0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00

Merge pull request #1131 from negletios/documentation-fixes

Fix typo in code example. Fixes #1130
This commit is contained in:
Karl Hobley 2015-03-31 16:59:03 +01:00
commit 5f0932a6b8

View File

@ -305,9 +305,9 @@ A block consisting of a sequence of sub-blocks of different types, which can be
('image', ImageChooserBlock()),
('quotation', blocks.StructBlock([
('text', blocks.TextBlock()),
('author', blocks.CharBlock),
('author', blocks.CharBlock()),
])),
('video', blocks.EmbedBlock()),
('video', EmbedBlock()),
],
icon='cogs'
))
@ -321,9 +321,9 @@ As with StructBlock, the list of sub-blocks can also be provided as a subclass o
image = ImageChooserBlock()
quotation = blocks.StructBlock([
('text', blocks.TextBlock()),
('author', blocks.CharBlock),
('author', blocks.CharBlock()),
])
video = blocks.EmbedBlock
video = EmbedBlock()
class Meta:
icon='cogs'