From e7c4324b6464e8d57a4dec1c1d0a7c6c9075ddaa Mon Sep 17 00:00:00 2001 From: dekzter Date: Fri, 4 Apr 2025 11:24:08 -0400 Subject: [PATCH] updated logo url field --- .../channels/migrations/0013_alter_logo_url.py | 18 ++++++++++++++++++ apps/channels/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 apps/channels/migrations/0013_alter_logo_url.py diff --git a/apps/channels/migrations/0013_alter_logo_url.py b/apps/channels/migrations/0013_alter_logo_url.py new file mode 100644 index 00000000..002ec35f --- /dev/null +++ b/apps/channels/migrations/0013_alter_logo_url.py @@ -0,0 +1,18 @@ +# Generated by Django 5.1.6 on 2025-04-04 15:04 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('dispatcharr_channels', '0012_channelprofile_channelprofilemembership'), + ] + + operations = [ + migrations.AlterField( + model_name='logo', + name='url', + field=models.TextField(unique=True), + ), + ] diff --git a/apps/channels/models.py b/apps/channels/models.py index f6424342..0e6d1c52 100644 --- a/apps/channels/models.py +++ b/apps/channels/models.py @@ -396,7 +396,7 @@ class ChannelGroupM3UAccount(models.Model): class Logo(models.Model): name = models.CharField(max_length=255) - url = models.URLField(unique=True) + url = models.TextField(unique=True) def __str__(self): return self.name