42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
# Generated by Django 5.0.6 on 2024-06-12 17:00
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
("base", "0003_formpage_formfield"),
|
|
("wagtailimages", "0026_delete_uploadedimage"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="SiteSettings",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
(
|
|
"icon",
|
|
models.ForeignKey(
|
|
blank=True,
|
|
help_text="Icône du site",
|
|
null=True,
|
|
on_delete=django.db.models.deletion.SET_NULL,
|
|
related_name="+",
|
|
to="wagtailimages.image",
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"abstract": False,
|
|
},
|
|
),
|
|
]
|