1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +00:00

queryset-refactor: Added a test to show that #6180 is fixed. Refs #6180.

git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-02-25 06:17:16 +00:00
parent bdeba9ab94
commit 3691613093

View File

@ -515,7 +515,7 @@ Multiple filter statements are joined using "AND" all the time.
>>> Author.objects.filter(Q(extra__note=n1)|Q(item__note=n3)).filter(id=a1.id)
[<Author: a1>]
Bug #6203
Bug #6180, #6203
>>> Item.objects.count()
4
>>> Item.objects.dates('created', 'month').count()
@ -524,6 +524,8 @@ Bug #6203
2
>>> len(Item.objects.dates('created', 'day'))
2
>>> Item.objects.dates('created', 'day')[0]
datetime.datetime(2007, 12, 19, 0, 0)
Test that parallel iterators work.