Re: Using query sets to get a filtered list across models

2006-10-29 Thread Russell Keith-Magee
On 10/30/06, Ceph <[EMAIL PROTECTED]> wrote: > > What I need to pull is a list of Items using the data from the Render > model that represents the latest Revision of an Item. I am currently > doing this easily with raw SQL, but this seems like something that > Django should be able to do for me.

Using query sets to get a filtered list across models

2006-10-29 Thread Ceph
I followed the tutorials and have gone through the manual (all nicely written, by the way), but I'm having trouble trying to wrap my head around using Query Sets to get myself through this. I have the following (abbreviated) models: class Item( models.Model ): pass class Render(