Ticket #7089: query_typo.diff
File query_typo.diff, 639 bytes (added by , 17 years ago) |
---|
-
django/db/models/sql/query.py
433 433 if with_aliases and field.column in col_aliases: 434 434 c_alias = 'Col%d' % len(col_aliases) 435 435 result.append('%s.%s AS %s' % (qn(alias), 436 qn2(field.column), c_alias e))436 qn2(field.column), c_alias)) 437 437 else: 438 438 result.append('%s.%s' % (qn(alias), qn2(field.column))) 439 439 else: