Skip to content
Snippets Groups Projects
Commit 282a1efe authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Migrate Host model

parent e368b7f6
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.14 on 2022-08-03 21:12
import versatileimagefield.fields
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("program", "0031_auto_20220803_2226"),
]
operations = [
migrations.RenameField(
model_name="host",
old_name="height",
new_name="image_height",
),
migrations.RenameField(
model_name="host",
old_name="ppoi",
new_name="image_ppoi",
),
migrations.RenameField(
model_name="host",
old_name="width",
new_name="image_width",
),
migrations.AddField(
model_name="host",
name="image_alt_text",
field=models.TextField(blank=True, null=True),
),
migrations.AddField(
model_name="host",
name="image_credits",
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name="host",
name="image",
field=versatileimagefield.fields.VersatileImageField(
blank=True,
height_field="image_height",
null=True,
upload_to="images",
width_field="image_width",
),
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment