summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2009-05-23 13:06:26 +0000
committerKaren Tracey <kmtracey@gmail.com>2009-05-23 13:06:26 +0000
commit24108801b6a41b84a69830374c2b27a87e60f86d (patch)
treec8f66051d7a463ccf6b1112cdf4ebe35228f9654
parent19e2585a3859475503199ad018688678a1cb3d0f (diff)
[1.0.X] Fixed #11188 -- Removed incorrect doc note about step being unsupported when slicing query sets.
r10835 from trunk. Also updated svnmerge metadata for some other recent commits. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/topics/db/queries.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
index e51daf6f83..41edf95d74 100644
--- a/docs/topics/db/queries.txt
+++ b/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