On 9/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> It occurs to me as I look at this further that I don't want to return
> the Section object at all and what I'm really trying to do is get the
> appropriate Section object and then return it's child sponsors.
>
>

Because all() will always return a list of object, you should use
get() instead of all() or the first element of the list, [0]

-- 
I like python!
My Blog: http://www.donews.net/limodou
UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
UliPad Maillist: http://groups.google.com/group/ulipad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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