51 lines
1.4 KiB
Python
51 lines
1.4 KiB
Python
# Generated by Django 5.0.6 on 2024-06-14 13:23
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
initial = True
|
|
|
|
dependencies = [
|
|
("wagtailcore", "0093_uploadedfile"),
|
|
("wagtailimages", "0026_delete_uploadedimage"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="SiteSettings",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
(
|
|
"logo",
|
|
models.ForeignKey(
|
|
blank=True,
|
|
null=True,
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="+",
|
|
to="wagtailimages.image",
|
|
),
|
|
),
|
|
(
|
|
"site",
|
|
models.OneToOneField(
|
|
editable=False,
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
to="wagtailcore.site",
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"abstract": False,
|
|
},
|
|
),
|
|
]
|