summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-20 06:17:51 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-20 06:17:51 +0000
commitcdeebb33f57dc2e5f4d0f60fd7f4a7fee6b02cb7 (patch)
treee1fa6c782d892faeced222b37a5a9a15d8977ebc
parent22bb040b60c868b77c956333ccbd3c07eb342487 (diff)
queryset-refactor: Added a missing space in the SQL construction.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/models/sql/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index c690117e16..b67bfae699 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -232,7 +232,7 @@ class Query(object):
result.append('WHERE')
else:
result.append('AND')
- result.append(' AND'.join(self.extra_where))
+ result.append(' AND '.join(self.extra_where))
if self.group_by:
grouping = self.get_grouping()