Ticket #15316: 15316.diff

File 15316.diff, 608 bytes (added by Aleksandra Sendecka, 13 years ago)

the patch without other patches (the previous one was generated badly)

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

     
    10751075                    can_reuse)
    10761076            return
    10771077
    1078         if (lookup_type == 'isnull' and value is True and not negate and
     1078        if (lookup_type == 'isnull' and not negate and
    10791079                len(join_list) > 1):
    10801080            # If the comparison is against NULL, we may need to use some left
    10811081            # outer joins when creating the join chain. This is only done when
Back to Top