feat: create project
This commit is contained in:
commit
b93eabd429
36 changed files with 1149 additions and 0 deletions
12
home/models.py
Normal file
12
home/models.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
from django.db import models
|
||||
|
||||
from wagtail.models import Page
|
||||
from wagtail.fields import RichTextField
|
||||
from wagtail.admin.panels import FieldPanel
|
||||
|
||||
class HomePage(Page):
|
||||
body = RichTextField(blank=True)
|
||||
|
||||
content_panels = Page.content_panels + [
|
||||
FieldPanel('body'),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue