From a81813fb4aec2e25850780c3846ad9743bf460ed Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 15 Mar 2008 01:59:06 +0000 Subject: queryset-refactor: Fixed the "in" lookup type when using tuples. Accidentally broken in r7170. Fixed #6772. git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7244 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/modeltests/or_lookups/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/modeltests/or_lookups/models.py b/tests/modeltests/or_lookups/models.py index b3500f27e7..38339c0685 100644 --- a/tests/modeltests/or_lookups/models.py +++ b/tests/modeltests/or_lookups/models.py @@ -70,6 +70,8 @@ __test__ = {'API_TESTS':""" # You could also use "in" to accomplish the same as above. >>> Article.objects.filter(pk__in=[1,2,3]) [, , ] +>>> Article.objects.filter(pk__in=(1,2,3)) +[, , ] >>> Article.objects.filter(pk__in=[1,2,3,4]) [, , ] -- cgit v1.3