Ticket #10930: patch.diff
File patch.diff, 629 bytes (added by , 16 years ago) |
---|
-
django/db/models/sql/query.py
1672 1672 dupe_set = set() 1673 1673 exclusions = set() 1674 1674 extra_filters = [] 1675 int_alias = None 1675 1676 for pos, name in enumerate(names): 1676 try:1677 if int_alias: 1677 1678 exclusions.add(int_alias) 1678 except NameError:1679 pass1680 1679 exclusions.add(alias) 1681 1680 last.append(len(joins)) 1682 1681 if name == 'pk':