Den 12/09/2014 kl. 20.19 skrev Benjamin Scherrey <proteus...@gmail.com>:

> I should assume then that this is something that the existing Django ORM 
> cannot model? 

It's a bit hard for me to grok your initial mail, but maybe you can use the new 
Prefetch() class in Django 1.7 to filter your query using joins instead of 'IN'?

https://docs.djangoproject.com/en/dev/ref/models/queries/#django.db.models.Prefetch

Erik

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/F16D6B47-7212-43FB-9C1D-56CAF28403F0%40cederstrand.dk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to