Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #11188 -- Removed incorrect doc note about step being unsupport…

…ed when slicing query sets.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e258961e4f9074694ec34b08c318079e9ec195e0 1 parent 077a94c
@kmtracey kmtracey authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  docs/topics/db/queries.txt
View
3  docs/topics/db/queries.txt
@@ -279,8 +279,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
Please sign in to comment.
Something went wrong with that request. Please try again.