Ticket #6837: missing-space.diff
File missing-space.diff, 907 bytes (added by , 17 years ago) |
---|
-
django/db/models/sql/query.py
232 232 result.append('WHERE') 233 233 else: 234 234 result.append('AND') 235 result.append(' AND '.join(self.extra_where))235 result.append(' AND '.join(self.extra_where)) 236 236 237 237 if self.group_by: 238 238 grouping = self.get_grouping() -
tests/regressiontests/queries/models.py
602 602 Traceback (most recent call last): 603 603 ... 604 604 IndexError: ... 605 606 >>> Note.objects.extra(where=["misc = 'foo'", "note = 'n1'"]).count() 607 1 605 608 """} 606 609