Hi, John

Try this:

Category.objects.exclude(bulletpoint__report=r)


On Fri, Nov 7, 2008 at 01:54, John M <[EMAIL PROTECTED]> wrote:

>
> i have a model at http://dpaste.com/88760/
>
> for a particular Report (r), I'd like to get all categories that
> aren't in it's bulletpoints.
>
> For example, If there are four categories: one, two, three, four.
> there is a report with bullet points for one and two, how can I get a
> list of three and four.
>
> This allows me to offer a user to add bulletpoints in those
> categories.
>
> I hope this makes sense :P
>
> John
> >
>

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