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

Backport of 2d75e74e18 from master
This commit is contained in:
Sam Collins 2017-12-07 15:52:46 +00:00 committed by Tim Graham
parent a06828cd2e
commit 66ccb3acb9
1 changed files with 1 additions and 1 deletions

View File

@ -1493,7 +1493,7 @@ templates used by the :class:`ModelAdmin` views:
.. versionadded:: 2.0
The ``get_readonly_fields()`` method is given the ``HttpRequest`` and is
The ``get_autocomplete_fields()`` method is given the ``HttpRequest`` and is
expected to return a ``list`` or ``tuple`` of field names that will be
displayed with an autocomplete widget as described above in the
:attr:`ModelAdmin.autocomplete_fields` section.