From 62f207caef9590b7a0e3268246307caeecd84d57 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Mon, 16 Jul 2007 22:29:09 +0000 Subject: [PATCH] Fixed #4851 -- Fixed description of an example query in `db-api` docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5720 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/db-api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/db-api.txt b/docs/db-api.txt index 64b4a1a841..8e664ce3c1 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -409,7 +409,7 @@ For example, this returns the first 5 objects (``LIMIT 5``):: Entry.objects.all()[:5] -This returns the fifth through tenth objects (``OFFSET 5 LIMIT 5``):: +This returns the sixth through tenth objects (``OFFSET 5 LIMIT 5``):: Entry.objects.all()[5:10]