add video subtitles and description to full-text index

This commit is contained in:
Nick Sweeting 2021-04-10 07:22:20 -04:00
parent 1e3c1e3c83
commit 193df5c8d3
3 changed files with 15 additions and 1 deletions

View file

@ -41,7 +41,7 @@ class Tag(models.Model):
Based on django-taggit model
"""
id = models.AutoField(primary_key=True, serialize=False, verbose_name='ID')
name = models.CharField(unique=True, blank=False, max_length=100)
# slug is autoset on save from name, never set it manually