1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-website-2018-spike/project/home/models.py

15 lines
347 B
Python
Raw Normal View History

from wagtail.core.models import Page
2018-07-24 20:56:38 +01:00
from wagtail.core.fields import RichTextField
from wagtail.admin.edit_handlers import FieldPanel
from project.common.models import Entity
class HomePage(Entity):
is_home = True
2018-07-24 20:56:38 +01:00
body = RichTextField()
2018-07-24 20:56:38 +01:00
content_panels = Entity.content_panels + [
FieldPanel('body', classname="full")
]