forked from external/museum

weicd
2023-02-27 e6a1fb2c444f410ac967b98bd6402e3c6cb1c97d
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 ExhibitionPage(Page):
    body = RichTextField(blank=True)
 
    content_panels = Page.content_panels + [
        FieldPanel("body", classname="full"),
    ]