From 63d60dfe29a73a6b860a69835c04f727861ff562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?latyas=28=E6=87=92=29?= Date: Wed, 20 May 2015 19:00:19 +0800 Subject: [PATCH] [1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt Backport of 8b106cfaa07dc04ad27a1a90c1eb03af80111695 from master --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 0250f8d3c7..6ae67a27fc 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1294,7 +1294,7 @@ templates used by the :class:`ModelAdmin` views: .. method:: ModelAdmin.get_ordering(request) - The ``get_ordering`` method takes a``request`` as parameter and + The ``get_ordering`` method takes a ``request`` as parameter and is expected to return a ``list`` or ``tuple`` for ordering similar to the :attr:`ordering` attribute. For example::