Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

magic-removal: Fixed #1535 (bug with combined m2m and m2o to the same…

… model). Thanks, Russell Cloran.

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fcea8ed02177ed9f9ff9a41021dd89210cdad4d3 1 parent 158691e
@spookylukey spookylukey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/query.py
View
2  django/db/models/query.py
@@ -769,7 +769,7 @@ def lookup_inner(path, clause, value, opts, table, column):
if intermediate_table:
joins[backend.quote_name(current_table)] = (
backend.quote_name(intermediate_table),
- "INNER JOIN",
+ "LEFT OUTER JOIN",
"%s.%s = %s.%s" % \
(backend.quote_name(table),
backend.quote_name(current_opts.pk.column),
Please sign in to comment.
Something went wrong with that request. Please try again.