Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 3691613093a5fbf450fbd98ad33c851f49d32257 1 parent bdeba9a
@malcolmt malcolmt authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/regressiontests/queries/models.py
View
4 tests/regressiontests/queries/models.py
@@ -515,7 +515,7 @@ class Meta:
>>> 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 @@ class Meta:
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.

0 comments on commit 3691613

Please sign in to comment.
Something went wrong with that request. Please try again.