#3665: select_related() should generate LEFT JOINs for foreign keys with 
null=True
--------------------------------------------+-------------------------------
   Reporter:  [EMAIL PROTECTED]            |                Owner:  mtredinnick 
  
     Status:  new                           |            Component:  Core 
framework
    Version:  SVN                           |           Resolution:             
   
   Keywords:  orm select_related left join  |                Stage:  Accepted   
   
  Has_patch:  0                             |           Needs_docs:  0          
   
Needs_tests:  0                             |   Needs_better_patch:  0          
   
--------------------------------------------+-------------------------------
Changes (by mtredinnick):

  * owner:  adrian => mtredinnick
  * stage:  Design decision needed => Accepted

Comment:

 This will be fixed in the !QuerySet rewrite that is happening at the
 moment. We can definitely cut down on the number of queries there. Your
 logic, by the way, is correct -- always use left outer joins in this case.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3665#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to