How to get all the unique tags from django-taggit? I want to display all the tags in a side bar. Right now, I am able to get all the tags for a particular post, but I need to get all the unique tags in the entire blog.
code in models.py:
from django.db import models
from taggit.managers import TaggableManager
# Create your models here.
class Post(models.Model):
title = models.CharField(max_length=100)
body = models.TextField()
created = models.DateTimeField()
tags = TaggableManager()
So, how do I do this?