mirror of https://github.com/django/django.git
[1.8.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of 8b106cfaa0
from master
This commit is contained in:
parent
aeafdf9398
commit
63d60dfe29
|
@ -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::
|
||||
|
||||
|
|
Loading…
Reference in New Issue