On Tue, Feb 10, 2009 at 12:22 AM, seanbrant <brant.s...@gmail.com> wrote:

>
> Sorry about my initial post, Im new here. I'll try harder next time ;)
>
> I choose MTI and added a entry_type field to the main Entry model.
>
> > ...(note that this could turn
> a Base.objects.all() query into O(n) queries).
>
> Is there a way out of the box to preform joins up front, when going
> from child to parent. I looked into select_related(), but that does
> not seem to be the appropriate use for it. In order to reduce the
> queries would the best option be custom views or at least a wrapper
> for the generic views?
> >
>
Ticket 7270 deals with handling the reverse relations on 1-1 fields:
http://code.djangoproject.com/ticket/7270 once that's in(and it's on the 1.1
roadmap) this should be possible out of the box.

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to