Permalink
Browse files

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

git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent caa150e commit d7ac1330c50f7fd7fe06e55c7470e406d201b946 @malcolmt malcolmt committed Apr 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/models/sql/query.py
View
2 django/db/models/sql/query.py
@@ -433,7 +433,7 @@ def get_default_columns(self, as_str=False, with_aliases=False,
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:

0 comments on commit d7ac133

Please sign in to comment.