blog2.0/blog/home/migrations/0004_homepage_logo.py

26 lines
670 B
Python
Raw Normal View History

2024-06-14 15:56:37 +02:00
# Generated by Django 5.0.6 on 2024-06-14 13:04
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("home", "0003_homepage_body_homepagelink"),
("wagtailimages", "0026_delete_uploadedimage"),
]
operations = [
migrations.AddField(
model_name="homepage",
name="logo",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="wagtailimages.image",
),
),
]