I have a complicated query set to do, does anyone have any suggestions
on the least insane way to do it?
I need to merge two querysets and only get out ones with a common
field:
ModelOne.objects.filter(x=whatever)
ModelTwo.objects.filter(y=foo)
both of these objects have a property which is a d
.objects.filter(name=["toast","bread","shoes"])
since in this case, the lookup to get the list wouldn't be too
expensive and could be cached
edward
On Nov 8, 11:56 pm, Edward McCaughan
wrote:
> I have a complicated query set to do, does anyone have any sugge
2 matches
Mail list logo