diff options
| author | Sam Collins <sam@scollins.co> | 2017-12-07 15:52:46 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-12-07 10:52:46 -0500 |
| commit | 2d75e74e18def5de8b23f88f4257f262f18fe1a9 (patch) | |
| tree | 36fcd83e78321b4fc9382ddfd923ab287d0b8817 /docs | |
| parent | c68f66e0144b69367e98692cba313251a36b85a8 (diff) | |
Fixed typo in docs/ref/contrib/admin/index.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index d5741c6569..e591854a7f 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. |
