1
0
mirror of https://github.com/django/django.git synced 2025-10-25 22:56:12 +00:00

[soc2009/multidb] Fixed test failures that were introduced in r10943

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/multidb@10951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor
2009-06-08 01:14:44 +00:00
parent 1653ffb571
commit 33ed158dc4
5 changed files with 23 additions and 11 deletions

View File

@@ -746,7 +746,7 @@ class BaseQuery(object):
result.extend([
'%s%s' % (
aggregate.as_sql(quote_func=qn),
aggregate.as_sql(qn, self.connection),
alias is not None and ' AS %s' % qn(alias) or ''
)
for alias, aggregate in self.aggregate_select.items()