On Tue, 7 Mar 2006, Russell Keith-Magee wrote:

> It's a little difficult to understand exactly what it is you want without a
> concrete model example - but if I'm understanding you correctly, the answer
> is 'it may be possible with trunk/0.91, and is definitely possible with
> magic-removal'.
>
> When you construct a query argument (short_name__exact), you use a double _
> to separate the column name from the query condition. You can also use a
> double _ to perform lookups over joins - so,
> resourcetypes__short_name__exact will do the join across resource types in a
> query on resource records.

So this is in the current stable 0.91 version?  Is that
resourcetypes__etc.. syntax documented anywhere?  I don't remember
anything like that, but it should fix my problem!

Alan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to