Fixed typo in docs/ref/contrib/admin/index.txt
This commit is contained in:
parent
fb94e7b8cf
commit
8b106cfaa0
|
@ -1270,7 +1270,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