blob: dc320e54e31be6473abab8678daf62044d9f75c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from django.db import models
from wagtail.core.models import Page
from wagtail.core.fields import RichTextField
from wagtail.admin.edit_handlers import FieldPanel
class HomePage(Page):
body = RichTextField(blank=True)
content_panels = Page.content_panels + [
FieldPanel('body', classname="full"),
]
|