diff options
| author | Vincenzo Pandolfo <pandolfovince@gmail.com> | 2015-12-10 12:45:21 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-22 18:29:56 -0500 |
| commit | 0490d72f2a309ee2c6d73cdc5aa5cc381e14ae98 (patch) | |
| tree | d41cba82ed4b6154acedac8d2b3ba269347ec4d8 /docs/ref | |
| parent | 956cde800490d2d9e1e5fcc83755a9226de27f24 (diff) | |
Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index e9c8e45cbb..854a9ca254 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -409,6 +409,16 @@ registered as an inline on a :class:`~django.contrib.admin.ModelAdmin`. * **admin.E304**: ``<model>`` has no ``GenericForeignKey`` using content type field ``<field name>`` and object ID field ``<field name>``. +AdminSite +~~~~~~~~~ + +The following checks are performed on the default +:class:`~django.contrib.admin.AdminSite`: + +* **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. Auth ---- |
