diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-25 06:17:16 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-25 06:17:16 +0000 |
| commit | 3691613093a5fbf450fbd98ad33c851f49d32257 (patch) | |
| tree | ffbf74a442b3eb07314e630e6a24be228d9ac050 | |
| parent | bdeba9ab94e8bd4012111cbde9e3606867f123cb (diff) | |
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
| -rw-r--r-- | tests/regressiontests/queries/models.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/regressiontests/queries/models.py b/tests/regressiontests/queries/models.py index 72f543dab8..3908d51f66 100644 --- a/tests/regressiontests/queries/models.py +++ b/tests/regressiontests/queries/models.py @@ -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. |
