mirror of
https://github.com/django/django.git
synced 2025-06-16 00:49:12 +00:00
[1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt
Backport of 8b106cfaa07dc04ad27a1a90c1eb03af80111695 from master
This commit is contained in:
parent
3908c3cb71
commit
198ad25a03
@ -1278,7 +1278,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::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user