Sorry, that was a mistype in the original post.

Should read:

Post.objects.exclude(rating__user = user) mostly works, but it *also*
excludes
all Posts that have not been rated by *any* users yet (don't have rows
in
the Rating table).

So I need a way to word the exclusion in a way that works, or I need to
union that queryset with a queryset that returns all Posts with no
ratings. That last queryset is the part I can't figure out.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to