class Entry models Model tags TagsField Tag null True blank True class

1
2
3
4
5
6
7
8
class Entry(models.Model):
....
tags = TagsField(Tag, null=True, blank=True)
class Tag(models.Model):
name = models.CharField(max_length=50, unique=True)
slug = models.CharField(max_length=150, editable=False)
...