update InlinePanel syntax

This commit is contained in:
Matt Westcott 2015-02-25 10:51:32 +00:00
parent de2dc3d786
commit 87de5d0c66

View file

@ -399,7 +399,7 @@ As standard, Wagtail organises panels into three tabs: 'Content', 'Promote' and
]
BlogPage.sidebar_content_panels = [
SnippetChooserPanel('advert', Advert),
InlinePanel(BlogPage, 'related_links', label="Related links"),
InlinePanel('related_links', label="Related links"),
]
BlogPage.edit_handler = TabbedInterface([