add custom image model, fetch alt text
This commit is contained in:
@ -0,0 +1,29 @@
|
||||
# Generated by Django 5.0.6 on 2024-05-15 01:46
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("associations", "0005_associationindex_lead"),
|
||||
("images", "0002_alter_customimage_options_alter_customimage_alt"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="associationpage",
|
||||
name="logo",
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="associationpage",
|
||||
name="logo",
|
||||
field=models.ForeignKey(
|
||||
blank=True,
|
||||
null=True,
|
||||
on_delete=django.db.models.deletion.SET_NULL,
|
||||
related_name="+",
|
||||
to="images.customimage",
|
||||
),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user