Author: kmtracey Date: 2009-05-23 07:58:31 -0500 (Sat, 23 May 2009) New Revision: 10835
Modified: django/trunk/docs/topics/db/queries.txt Log: Fixed #11188 -- Removed incorrect doc note about step being unsupported when slicing query sets. Modified: django/trunk/docs/topics/db/queries.txt =================================================================== --- django/trunk/docs/topics/db/queries.txt 2009-05-20 20:05:49 UTC (rev 10834) +++ django/trunk/docs/topics/db/queries.txt 2009-05-23 12:58:31 UTC (rev 10835) @@ -279,8 +279,7 @@ >>> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---