Fixed typo in docs/ref/contrib/admin/index.txt

This commit is contained in:
latyas(懒) 2015-05-20 19:00:19 +08:00 committed by Tim Graham
parent fb94e7b8cf
commit 8b106cfaa0
1 changed files with 1 additions and 1 deletions

View File

@ -1270,7 +1270,7 @@ templates used by the :class:`ModelAdmin` views:
.. method:: ModelAdmin.get_ordering(request) .. 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 is expected to return a ``list`` or ``tuple`` for ordering similar
to the :attr:`ordering` attribute. For example:: to the :attr:`ordering` attribute. For example::