#2465: Make select_related() related work for ForeignKeys with null=True
--------------------------------------------------+-------------------------
Reporter: Adam Endicott <[EMAIL PROTECTED]> | Owner: jacob
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Documentation | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------------------------------+-------------------------
Comment (by adrian):
No, I'd rather not change {{{select_related}}} to work for {{{null=True}}}
fields. That would involve a bunch of {{{LEFT JOIN}}}s in the resulting
SQL. {{{select_related}}} does not work on {{{null=True}}} fields on
purpose.
--
Ticket URL: <http://code.djangoproject.com/ticket/2465>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---