Skip to content
Snippets Groups Projects
Commit 2238afd8 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

change order

parent 440893ed
No related branches found
No related tags found
No related merge requests found
......@@ -219,8 +219,11 @@ class HomeContentPageMixin(Page):
class HomeArticlePage(HomeContentPageMixin):
perex = models.TextField(verbose_name="Perex")
content_panels = HomeContentPageMixin.content_panels + [
content_panels = Page.content_panels + [
FieldPanel("author", icon="user"),
FieldPanel("date", icon="calendar"),
FieldPanel("perex", icon="pilcrow"),
FieldPanel("content", icon="pilcrow"),
]
class Meta:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment