Re: Filtering a queryset with arrays of IDs

2008-09-28 Thread Malcolm Tredinnick
On Sun, 2008-09-28 at 17:15 -0700, Brandon Taylor wrote: > Hi everyone, > > I have a search form where I have multi-selects that contain foreign > key values. When I post to my results page, I get a QueryDict object > and can get the data out of the post into lists. > > My question is, what's t

Filtering a queryset with arrays of IDs

2008-09-28 Thread Brandon Taylor
Hi everyone, I have a search form where I have multi-selects that contain foreign key values. When I post to my results page, I get a QueryDict object and can get the data out of the post into lists. My question is, what's the best way to go about filtering objects where the foreign keys are arr