14 lines
354 B
Python
14 lines
354 B
Python
|
from __future__ import unicode_literals
|
||
|
|
||
|
from wagtail.wagtailcore.models import Page
|
||
|
from wagtail.wagtailcore.fields import RichTextField
|
||
|
from wagtail.wagtailadmin.edit_handlers import FieldPanel
|
||
|
|
||
|
|
||
|
class HomePage(Page):
|
||
|
body = RichTextField(blank=True)
|
||
|
|
||
|
content_panels = Page.content_panels + [
|
||
|
FieldPanel('body', classname="full")
|
||
|
]
|