Fixed #31909 -- Fixed typo in docs/ref/contrib/admin/index.txt.

This commit is contained in:
Enderson Menezes 2020-08-19 15:21:17 -03:00 committed by Mariusz Felisiak
parent 4376c2c7f8
commit 67e4a9a4b9
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`
backend in your :setting:`TEMPLATES` setting with
``django.contrib.auth.context_processors.auth``,
``django.contrib.messages.context_processors.request``, and
``django.template.context_processors.request``,
``django.contrib.auth.context_processors.auth``, and
``django.contrib.messages.context_processors.messages`` in
the ``'context_processors'`` option of :setting:`OPTIONS
<TEMPLATES-OPTIONS>`.
.. 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
:attr:`.AdminSite.enable_nav_sidebar`.