From 2d75e74e18def5de8b23f88f4257f262f18fe1a9 Mon Sep 17 00:00:00 2001 From: Sam Collins Date: Thu, 7 Dec 2017 15:52:46 +0000 Subject: [PATCH] Fixed typo in docs/ref/contrib/admin/index.txt. --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index d5741c6569f..e591854a7fa 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1475,7 +1475,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.