So I'm now trying the new generic relations out for tags, much like
the example in the documentation. The problem I'm having is doing a
filter() to get a QuerySet of tags with unique names. Any thoughts on
this?

If two different objects are both given a tag "foo", there will be two
tags in the system that have 'foo' as their 'tag' value. The only way
I can think of doing this so far is to manually pull all the results
out of a QuerySet, and use Python to figure out all the unique tag
names.

And that's ok, but it doesn't fit too nicely with the generic views
(particularly object_list, when I just want a list of all the tag
names in the system).

Jay P.
.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to