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

feat: add micro show

parent af64c5cc
No related branches found
No related tags found
No related merge requests found
# Generated by Django 4.2.13 on 2024-06-03 16:50
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("program", "0091_radiosettings_host_image_aspect_ratio_and_more"),
]
operations = [
migrations.AddField(
model_name="radiosettings",
name="micro_show",
field=models.ForeignKey(
blank=True,
null=True,
on_delete=django.db.models.deletion.CASCADE,
related_name="+",
to="program.show",
),
),
]
......@@ -557,6 +557,9 @@ class RadioSettings(models.Model):
host_image_aspect_ratio = ImageAspectRadioField(default="1:1")
host_image_shape = ImageShapeField(default="round")
line_in_channels = models.JSONField(blank=True, default=dict, help_text="JSON key/value pairs")
micro_show = models.ForeignKey(
Show, blank=True, null=True, on_delete=models.CASCADE, related_name="+"
)
note_image_aspect_ratio = ImageAspectRadioField(default="16:9")
note_image_shape = ImageShapeField(default="rect")
show_image_aspect_ratio = ImageAspectRadioField(default="16:9")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment