From 371ece2f0682e51f2f796854d3e091827a7cea63 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Mon, 20 Aug 2018 18:57:46 -0300 Subject: Fixed #29695 -- Added system checks for admin's app dependencies and TEMPLATES setting. --- docs/ref/checks.txt | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index ee16ebde54..a84d9b60b6 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -624,7 +624,26 @@ The following checks are performed on the default * **admin.E401**: :mod:`django.contrib.contenttypes` must be in :setting:`INSTALLED_APPS` in order to use the admin application. * **admin.E402**: :mod:`django.contrib.auth.context_processors.auth` - must be in :setting:`TEMPLATES` in order to use the admin application. + must be enabled in :class:`~django.template.backends.django.DjangoTemplates` + (:setting:`TEMPLATES`) if using the default auth backend in order to use the + admin application. +* **admin.E403**: A :class:`django.template.backends.django.DjangoTemplates` + instance must be configured in :setting:`TEMPLATES` in order to use the + admin application. +* **admin.E404**: ``django.contrib.messages.context_processors.messages`` + must be enabled in :class:`~django.template.backends.django.DjangoTemplates` + (:setting:`TEMPLATES`) in order to use the admin application. +* **admin.E405**: :mod:`django.contrib.auth` must be in + :setting:`INSTALLED_APPS` in order to use the admin application. +* **admin.E406**: :mod:`django.contrib.messages` must be in + :setting:`INSTALLED_APPS` in order to use the admin application. +* **admin.E407**: :mod:`django.contrib.sessions` must be in + :setting:`INSTALLED_APPS` in order to use the admin application. +* **admin.E408**: + :class:`django.contrib.auth.middleware.AuthenticationMiddleware` must be in + :setting:`MIDDLEWARE` in order to use the admin application. +* **admin.E409**: :class:`django.contrib.messages.middleware.MessageMiddleware` + must be in :setting:`MIDDLEWARE` in order to use the admin application. ``auth`` -------- -- cgit v1.3