I'm assuming this is simple... hoping so at least! Spent the last few hours googling w/ no luck.
I'm using the TagsField from: http://softwaremaniacs.org/soft/tags/en/ and I have many classes using this m2m TagsField. What I'm stumped on is how to pull a list of all the tags that are used by one particular class.. I could do this with SQL, but I'm assuming there's some simple Django ORM syntax I haven't discovered yet.. Simplified list of my models: class Tag(models.Model): value = models.CharField(maxlength=50) ..etc class Blog(models.Model): tags = fields.TagsField(Tag,blank=True, null=True) title = models.CharField(maxlength=200) ..etc class Project(models.Model): issue = models.ForeignKey(Issue) tags = fields.TagsField(Tag,blank=True, null=True) ..etc class Article(models.Model): title = models.CharField(maxlength=200) tags = fields.TagsField(Tag,blank=True, null=True) ..etc I'm able to show a Tag detail page that pulls all the Blog, Project, and Article entries related to the Tag -- but how do I pull all the tags that are used for Blogs, or all the tags used in Projects, etc? I'd like to throw this in as extra_context along the lines of: "tag_list" : Tag.objects.filter(this_is_where_my_brain_is_shorting) Sorry if this is a dumb question.. for some reason it's just not making sense to me after weeks of fussing with Django. If it helps any, this is the site I'm working with: http://lab-zine.com/blog/ (I'd like to have a list at left: TAGS, which only shows tags for blog entries.) Thanks! Nate. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

