From 8f55d385d674211f01a8eb78088f4324664adffe Mon Sep 17 00:00:00 2001 From: Gallaecio Date: Thu, 11 Aug 2016 08:52:53 +0200 Subject: [PATCH] Fix array-slicing documentation Fixes #1359. --- docs/guide/querying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/querying.rst b/docs/guide/querying.rst index 5f7a3de9..913de5d6 100644 --- a/docs/guide/querying.rst +++ b/docs/guide/querying.rst @@ -237,7 +237,7 @@ is preferred for achieving this:: # All except for the first 5 people users = User.objects[5:] - # 5 users, starting from the 10th user found + # 5 users, starting from the 11th user found users = User.objects[10:15] You may also index the query to retrieve a single result. If an item at that