You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
782 B
Python
29 lines
782 B
Python
6 years ago
|
# -*- coding: utf-8 -*-
|
||
|
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",),
|
||
|
)
|
||
|
]
|