[3.1.x] Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.

Backport of 67e4a9a4b9 from master
This commit is contained in:
Enderson Menezes 2020-08-19 15:21:17 -03:00 committed by Mariusz Felisiak
parent 7eaa2776e1
commit 26ccc7701d
1 changed files with 3 additions and 3 deletions

View File

@ -34,15 +34,15 @@ If you're not using the default project template, here are the requirements:
#. Configure a :class:`~django.template.backends.django.DjangoTemplates` #. Configure a :class:`~django.template.backends.django.DjangoTemplates`
backend in your :setting:`TEMPLATES` setting with backend in your :setting:`TEMPLATES` setting with
``django.contrib.auth.context_processors.auth``, ``django.template.context_processors.request``,
``django.contrib.messages.context_processors.request``, and ``django.contrib.auth.context_processors.auth``, and
``django.contrib.messages.context_processors.messages`` in ``django.contrib.messages.context_processors.messages`` in
the ``'context_processors'`` option of :setting:`OPTIONS the ``'context_processors'`` option of :setting:`OPTIONS
<TEMPLATES-OPTIONS>`. <TEMPLATES-OPTIONS>`.
.. versionchanged:: 3.1 .. versionchanged:: 3.1
``django.contrib.messages.context_processors.request`` was added as a ``django.template.context_processors.request`` was added as a
requirement in the ``'context_processors'`` option to support the new requirement in the ``'context_processors'`` option to support the new
:attr:`.AdminSite.enable_nav_sidebar`. :attr:`.AdminSite.enable_nav_sidebar`.