Re: Extracting results of a join

2016-10-10 Thread Sanjay Bhangar
On Mon, Oct 10, 2016 at 12:56 PM, Geoff Kuenning wrote: > > > So is there a way to get Django to issue this join and collect the > results into an aggregate set? I've read through the docs and > experimented with different filter and double-underscore notations, > without

Extracting results of a join

2016-10-10 Thread Geoff Kuenning
I have a table, Photos, which contains pretty much what you'd expect. A second table, Albums, contains a field named "key", a title, and other information. The two are related by a ManyToManyField through AlbumMembers, which relates the photo ID to the album key ("album"). I mention