From a9703edc618d90d2e08122b481608e3dafc3ab63 Mon Sep 17 00:00:00 2001 From: Simeon Visser Date: Sun, 12 May 2013 20:24:48 +0100 Subject: [PATCH] [1.5.X] Fixed #20397 - Cleaned up issue with quotation marks in documentation Backport of b9efc03e6d from master --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index ca2e64a8c5..a11362df34 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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 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]