Kaydet (Commit) b1f74670 authored tarafından Tim Graham's avatar Tim Graham

Merge pull request #1058 from svisser/ticket_20397

Fixed #20397 - Cleaned up issue with quotation marks in documentation
...@@ -328,7 +328,7 @@ Use the ``reverse()`` method to reverse the order in which a queryset's ...@@ -328,7 +328,7 @@ Use the ``reverse()`` method to reverse the order in which a queryset's
elements are returned. Calling ``reverse()`` a second time restores the elements are returned. Calling ``reverse()`` a second time restores the
ordering back to the normal direction. ordering back to the normal direction.
To retrieve the ''last'' five items in a queryset, you could do this:: To retrieve the "last" five items in a queryset, you could do this::
my_queryset.reverse()[:5] my_queryset.reverse()[:5]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment