Hi django users!
I have two simple models: Blog and Article.
class Blog(models.Model):
title = models.CharField()
content = models.TextField()
user = models.ForeignKey(User)
class Article(models.Model):
title = models.CharField()
content = models.TextField()
blog = models.ForeignKey(Blog)
I need to get all blogs that belong to certain user and are empty (do
not have any articles). I can't figure out how to make it with without
extra() method.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---