Browse files

[1.0.X] Fixed #11188 -- Removed incorrect doc note about step being u…

…nsupported when slicing query sets.

r10835 from trunk.  Also updated svnmerge metadata for some other recent commits.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 19e2585 commit 24108801b6a41b84a69830374c2b27a87e60f86d @kmtracey kmtracey committed May 23, 2009
Showing with 1 addition and 2 deletions.
  1. +1 −2 docs/topics/db/queries.txt
@@ -276,8 +276,7 @@ This returns the sixth through tenth objects (``OFFSET 5 LIMIT 5``)::
>>> Entry.objects.all()[5:10]
-Negative indexing (i.e. ``Entry.objects.all()[-1]``) is not supported, nor is
-the third "step" slice parameter.
+Negative indexing (i.e. ``Entry.objects.all()[-1]``) is not supported.
Generally, slicing a ``QuerySet`` returns a new ``QuerySet`` -- it doesn't
evaluate the query. An exception is if you use the "step" parameter of Python

0 comments on commit 2410880

Please sign in to comment.