On Nov 28, 9:08 am, Eratothene <[EMAIL PROTECTED]> wrote: > 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.
Since you can't do aggregate methods in the ORM yet, you'll just have to use extra and do a sub-select to count the articles linked to each. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

