From 5c43a0a43f6cf42de21066b789c19208cac2ea36 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 28 Aug 2008 13:40:20 +0000 Subject: Fixed #8406: Corrected some expected output to use repr format. Thanks to arien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8658 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/models/querysets.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 62f255b43c..c0b3ac1de0 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -190,7 +190,7 @@ objects:: # This list contains a Blog object. >>> Blog.objects.filter(name__startswith='Beatles') - [Beatles Blog] + [] # This list contains a dictionary. >>> Blog.objects.filter(name__startswith='Beatles').values() @@ -650,9 +650,9 @@ primary-key value to an instance of the object with the given ID. Example:: >>> Blog.objects.in_bulk([1]) - {1: Beatles Blog} + {1: } >>> Blog.objects.in_bulk([1, 2]) - {1: Beatles Blog, 2: Cheddar Talk} + {1: , 2: } >>> Blog.objects.in_bulk([]) {} -- cgit v1.3