diff --git a/apps/m3u/migrations/0017_alter_m3uaccount_custom_properties_and_more.py b/apps/m3u/migrations/0017_alter_m3uaccount_custom_properties_and_more.py index 28122ab9..84cb968b 100644 --- a/apps/m3u/migrations/0017_alter_m3uaccount_custom_properties_and_more.py +++ b/apps/m3u/migrations/0017_alter_m3uaccount_custom_properties_and_more.py @@ -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', diff --git a/apps/m3u/models.py b/apps/m3u/models.py index abeb3c06..9870aa93 100644 --- a/apps/m3u/models.py +++ b/apps/m3u/models.py @@ -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)",