summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRodrigo <matematica.a3k@gmail.com>2018-08-20 18:57:46 -0300
committerTim Graham <timograham@gmail.com>2018-08-20 17:57:46 -0400
commit371ece2f0682e51f2f796854d3e091827a7cea63 (patch)
tree6eff7fc6db3fad32df956011a5fd657469ed534c /docs
parentac29fec1116953a70f055c45a0aef6a24477653e (diff)
Fixed #29695 -- Added system checks for admin's app dependencies and TEMPLATES setting.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt21
1 files changed, 20 insertions, 1 deletions
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``
--------