Ivan Sagalaev wrote:
This is in fact pretty standard Django ORM, nothing special to TagsField:blog.tag_set.all()
Thanks Ivan, but I was hoping to get a list of all tags not only related to the *current* blog entry (I'm already using this in my template), but *all* blog entries. I'd like to put a list of tags in the sidebar so one can navigate to blog entries by tag. Ye olde tag cloud .. and this would be simple if only Blogs had tags, but I'm sharing the Tags model across Articles and Projects also. I continued googling and still didn't find anything that answers this directly, but I'm sure once I see it I'll feel dumb. In the interim I guess I could just write some raw SQL: SELECT t.value FROM `blog_blog_tags` b LEFT JOIN `tags_tag` t ON (b.tag_id=t.id) but that feels like cheating.. besides, I'd like to better understand the ORM. Thanks again, Nate. -- http://clixel.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

