Ticket #1535: query.diff

File query.diff, 448 bytes (added by mir@…, 19 years ago)

Russel's patch from the ticket description

  • django/db/models/query.py

     
    769769    if intermediate_table:
    770770        joins[backend.quote_name(current_table)] = (
    771771            backend.quote_name(intermediate_table),
    772             "INNER JOIN",
     772            "LEFT OUTER JOIN",
    773773            "%s.%s = %s.%s" % \
    774774                (backend.quote_name(table),
    775775                backend.quote_name(current_opts.pk.column),
Back to Top