From f59667c121272ba7a1161e8bc4787654d929f6f1 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 27 Jun 2015 14:25:42 -0400 Subject: [PATCH] Fixed #25033 -- Added context_processors.auth to documented admin dependencies. --- docs/ref/contrib/admin/index.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index f4480d6a3b..1183da3744 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -27,7 +27,8 @@ For reference, here are the requirements: :mod:`django.contrib.sessions`. If these applications are not in your :setting:`INSTALLED_APPS` list, add them. -3. Add ``django.contrib.messages.context_processors.messages`` to +3. Add ``django.contrib.auth.context_processors.auth`` and + ``django.contrib.messages.context_processors.messages`` to the ``'context_processors'`` option of the ``DjangoTemplates`` backend defined in your :setting:`TEMPLATES` as well as :class:`django.contrib.auth.middleware.AuthenticationMiddleware` and