1
You can do:
tags = Tag.objects.filter(post__isnull=True)
You can read more on lookups that span multivalued relationships here
Source:stackexchange.com
1
You can do:
tags = Tag.objects.filter(post__isnull=True)
You can read more on lookups that span multivalued relationships here