class Tag(Taxonomy): """ """ objects = TaxonomyManager() class Meta(object): ordering = ['name']
class Category(Taxonomy): """ """ objects = TaxonomyManager() class Meta(object): verbose_name_plural = 'categories' ordering = ['name']
class Topic(Taxonomy): """A category used to classify |Tags|. Attributes ---------- name : str The name of the Topic. """ name = models.CharField(max_length=255, unique=True) objects = TaxonomyManager() class Meta(object): """Metadata options.""" ordering = ['name']