1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00

[1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt

Backport of 8b106cfaa07dc04ad27a1a90c1eb03af80111695 from master
This commit is contained in:
latyas(懒) 2015-05-20 19:00:19 +08:00 committed by Tim Graham
parent aeafdf9398
commit 63d60dfe29

View File

@ -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::