I have the model like,

class Blog(models.Model):
    url = models.URLField()

class Entry(models.Model):
    blog = models.ForeignKey(Blog)
    user = models.ManyToManyField(User)

User is contrib.auth.db.USER

Now I given a blog and a user I need to find out all the Entry objects
which are a detail of this blog and do not have the given user. How
can I do that?
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to