Ticket #7315: 7315-fix.diff
File 7315-fix.diff, 568 bytes (added by , 16 years ago) |
---|
-
django/db/models/sql/query.py
837 837 # Not all tables need to be joined to anything. No join type 838 838 # means the later columns are ignored. 839 839 join_type = None 840 elif promote or outer_if_first :840 elif promote or outer_if_first or nullable: 841 841 join_type = self.LOUTER 842 842 else: 843 843 join_type = self.INNER