Ticket #4977: main.patch
File main.patch, 529 bytes (added by , 17 years ago) |
---|
-
.py
old new 740 740 if qs._select_related: 741 741 other_qs = other_qs.select_related() 742 742 other_qs = other_qs.filter(reduce(operator.or_, or_queries)) 743 qs = qs & other_qs 743 #qs = qs & other_qs 744 qs = qs | other_qs 744 745 745 746 if self.opts.one_to_one_field: 746 747 qs = qs.complex_filter(self.opts.one_to_one_field.rel.limit_choices_to)