Archived
1
Fork 0
This repository has been archived on 2024-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
lps-wagtail/lps/home/migrations/0004_homepage_hero_text_homepage_image.py

33 lines
939 B
Python

# Generated by Django 5.0.6 on 2024-06-12 14:24
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("home", "0003_homepage_body"),
("wagtailimages", "0026_delete_uploadedimage"),
]
operations = [
migrations.AddField(
model_name="homepage",
name="hero_text",
field=models.CharField(
blank=True, help_text="Phrase d'accueil", max_length=1024
),
),
migrations.AddField(
model_name="homepage",
name="image",
field=models.ForeignKey(
blank=True,
help_text="Image page d'accueil",
null=True,
on_delete=django.db.models.deletion.SET_NULL,
related_name="+",
to="wagtailimages.image",
),
),
]