Ticket #17424: ticket17424.diff

File ticket17424.diff, 640 bytes (added by Aleksandra Sendecka, 13 years ago)

Patch without tests (done mostly by lrekucki, I was just helping)

  • django/db/models/sql/query.py

     
    693693        Returns True if the join was promoted by this call.
    694694        """
    695695        if ((unconditional or self.alias_map[alias][NULLABLE]) and
    696                 self.alias_map[alias][JOIN_TYPE] != self.LOUTER):
     696                self.alias_map[alias][JOIN_TYPE] == self.INNER):
    697697            data = list(self.alias_map[alias])
    698698            data[JOIN_TYPE] = self.LOUTER
    699699            self.alias_map[alias] = tuple(data)
Back to Top