Wait that was the wrong description field

This commit is contained in:
Salt 2025-01-24 17:55:39 -06:00
parent 6113585c01
commit e64c43f862
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 5.1.5 on 2025-01-24 23:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('odyseescraper', '0019_alter_odyseerelease_description'),
]
operations = [
migrations.AlterField(
model_name='odyseechannel',
name='description',
field=models.TextField(blank=True, help_text='A user-facing description of the channel, its owners, and its content. May also contain links to related resources and websites.'),
),
]

View File

@ -34,7 +34,7 @@ class OdyseeChannel(models.Model):
"""
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False, db_index=True, help_text="A unique identifier for this channel")
name = models.CharField(max_length=1024, help_text="The human-readable name of the channel. Does not, and often will not, necessarily correlate with the channel's handle")
description = models.TextField(help_text="A user-facing description of the channel, its owners, and its content. May also contain links to related resources and websites.")
description = models.TextField(blank=True,help_text="A user-facing description of the channel, its owners, and its content. May also contain links to related resources and websites.")
handle = models.CharField(max_length=1024, help_text="The @tag of the user. May be a short tag (@someuser) or qualified with claimid (@someuser:4ab8)")
tags = models.ManyToManyField(Tag, related_name="channels", blank=True, help_text="A list of tags associated with this channel. When queried, any release from this channel will inherit its tags.")