feat: create project

This commit is contained in:
Konstantin 2024-02-29 18:51:43 +01:00
commit b93eabd429
36 changed files with 1149 additions and 0 deletions

12
home/models.py Normal file
View 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'),
]