From cdeebb33f57dc2e5f4d0f60fd7f4a7fee6b02cb7 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 20 Mar 2008 06:17:51 +0000 Subject: [PATCH] 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 --- django/db/models/sql/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()