T-001: 初始化 Wagtail 项目骨架

This commit is contained in:
ila
2026-07-06 17:30:34 +08:00
parent abfe00103c
commit feb662da67
42 changed files with 997 additions and 76 deletions
+31
View File
@@ -0,0 +1,31 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("wagtailcore", "0040_page_draft_title"),
]
operations = [
migrations.CreateModel(
name="HomePage",
fields=[
(
"page_ptr",
models.OneToOneField(
on_delete=models.CASCADE,
parent_link=True,
auto_created=True,
primary_key=True,
serialize=False,
to="wagtailcore.Page",
),
),
],
options={
"abstract": False,
},
bases=("wagtailcore.page",),
),
]