forked from external/museum

weicd
2023-02-27 e6a1fb2c444f410ac967b98bd6402e3c6cb1c97d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- 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",),
        ),
    ]