Increase server url max length from 200 to 1000 characters to accomodate tokens in the url

This commit is contained in:
SergeantPanda 2025-09-02 10:20:23 -05:00
parent 8cae13f845
commit 6c1bfaf052
2 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# Generated by Django 5.2.4 on 2025-09-02 14:30
# Generated by Django 5.2.4 on 2025-09-02 15:19
from django.db import migrations, models
@ -15,6 +15,11 @@ class Migration(migrations.Migration):
name='custom_properties',
field=models.JSONField(blank=True, default=dict, null=True),
),
migrations.AlterField(
model_name='m3uaccount',
name='server_url',
field=models.URLField(blank=True, help_text='The base URL of the M3U server (optional if a file is uploaded)', max_length=1000, null=True),
),
migrations.AlterField(
model_name='m3ufilter',
name='custom_properties',

View file

@ -29,6 +29,7 @@ class M3UAccount(models.Model):
max_length=255, unique=True, help_text="Unique name for this M3U account"
)
server_url = models.URLField(
max_length=1000,
blank=True,
null=True,
help_text="The base URL of the M3U server (optional if a file is uploaded)",