Commits

mtre...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 6d77370

queryset-refactor: Typo fix, spotted by Justin Bronn. Fixed #7089.

  • Participants
  • Parent commits d0f1618
  • Branches queryset-refactor

Comments (0)

Files changed (1)

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

                 if with_aliases and field.column in col_aliases:
                     c_alias = 'Col%d' % len(col_aliases)
                     result.append('%s.%s AS %s' % (qn(alias),
-                        qn2(field.column), c_aliase))
+                        qn2(field.column), c_alias))
                 else:
                     result.append('%s.%s' % (qn(alias), qn2(field.column)))
             else: