I am using the django taggit to add tags to all bids.
My bid model is as follows:
class Bid(models.Model):
tags = TaggableManager()
How can I remove a particular tag from all bids who have that tag?
I was going to do the following:
Let's say I want to remove the tag "delicious" from all bids with that tag:
bids = Bid.objects.filter(tags__name__in=["delicious"])
bids.tags.remove("delicious")
Is that the correct way to do so?
Thanks!