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

feat: add field validation to cba_domains & line_in_channels

parent 406dbe1f
No related branches found
No related tags found
No related merge requests found
Pipeline #8185 passed
# Generated by Django 4.2.13 on 2024-06-04 18:36
import program.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("program", "0094_alter_radiosettings_fallback_show_and_more"),
]
operations = [
migrations.AlterField(
model_name="radiosettings",
name="cba_domains",
field=models.JSONField(
blank=True,
default=list,
help_text="JSON array of strings",
validators=[program.models.validate_cba_domains],
verbose_name="CBA domains",
),
),
migrations.AlterField(
model_name="radiosettings",
name="line_in_channels",
field=models.JSONField(
blank=True,
default=dict,
help_text="JSON key/value pairs",
validators=[program.models.validate_line_in_channels],
),
),
]
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